@certik/skynet 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/api.js +1 -0
- package/deploy.js +2 -0
- package/dynamodb.js +8 -0
- package/examples/{api → api.js} +1 -1
- package/indexer.js +2 -0
- package/kafka.js +2 -0
- package/monitor.js +1 -0
- package/package.json +1 -1
- /package/examples/{consumer → consumer.js} +0 -0
- /package/examples/{indexer → indexer.js} +0 -0
- /package/examples/{mode-indexer → mode-indexer.js} +0 -0
- /package/examples/{producer → producer.js} +0 -0
package/CHANGELOG.md
CHANGED
package/api.js
CHANGED
package/deploy.js
CHANGED
|
@@ -487,6 +487,7 @@ ${getSelectorDesc(selector)}
|
|
|
487
487
|
${binaryName} --mode validate
|
|
488
488
|
`,
|
|
489
489
|
{
|
|
490
|
+
importMeta: import.meta,
|
|
490
491
|
description: false,
|
|
491
492
|
version: false,
|
|
492
493
|
flags: {
|
|
@@ -653,6 +654,7 @@ ${getSelectorDesc(selector)}
|
|
|
653
654
|
--dry-run print nomad job file but do not really execute it
|
|
654
655
|
`,
|
|
655
656
|
{
|
|
657
|
+
importMeta: import.meta,
|
|
656
658
|
description: false,
|
|
657
659
|
version: false,
|
|
658
660
|
flags: {
|
package/dynamodb.js
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
DynamoDBDocumentClient,
|
|
3
3
|
ScanCommand,
|
|
4
4
|
BatchWriteCommand,
|
|
5
|
+
GetCommand,
|
|
5
6
|
PutCommand,
|
|
6
7
|
QueryCommand,
|
|
7
8
|
UpdateCommand,
|
|
@@ -456,6 +457,13 @@ async function deleteRecordsByHashKey(tableName, indexName, hashKeyValue, verbos
|
|
|
456
457
|
|
|
457
458
|
export {
|
|
458
459
|
getDocClient,
|
|
460
|
+
// export common dynamodb commands to make it easier to use
|
|
461
|
+
ScanCommand,
|
|
462
|
+
BatchWriteCommand,
|
|
463
|
+
GetCommand,
|
|
464
|
+
PutCommand,
|
|
465
|
+
QueryCommand,
|
|
466
|
+
UpdateCommand,
|
|
459
467
|
scanWholeTable,
|
|
460
468
|
batchCreateRecords,
|
|
461
469
|
createRecord,
|
package/examples/{api → api.js}
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// $ examples/api deploy
|
|
8
8
|
// $ examples/api --help
|
|
9
9
|
|
|
10
|
-
import { api, every, SENSITIVE_VALUE, ERROR_LEVEL } from "../app";
|
|
10
|
+
import { api, every, SENSITIVE_VALUE, ERROR_LEVEL } from "../app.js";
|
|
11
11
|
|
|
12
12
|
// an example middleware
|
|
13
13
|
async function exampleMiddleware(req, res, next) {
|
package/indexer.js
CHANGED
|
@@ -506,6 +506,7 @@ ${getSelectorDesc(selector)}
|
|
|
506
506
|
--verbose Output debug messages
|
|
507
507
|
`,
|
|
508
508
|
{
|
|
509
|
+
importMeta: import.meta,
|
|
509
510
|
description: false,
|
|
510
511
|
version: false,
|
|
511
512
|
flags: {
|
|
@@ -562,6 +563,7 @@ ${getSelectorDesc(selector)}
|
|
|
562
563
|
--verbose Output debug messages
|
|
563
564
|
`,
|
|
564
565
|
{
|
|
566
|
+
importMeta: import.meta,
|
|
565
567
|
description: false,
|
|
566
568
|
version: false,
|
|
567
569
|
flags: {
|
package/kafka.js
CHANGED
|
@@ -168,6 +168,7 @@ ${getSelectorDesc(selector)}
|
|
|
168
168
|
--reset restart producer
|
|
169
169
|
`,
|
|
170
170
|
{
|
|
171
|
+
importMeta: import.meta,
|
|
171
172
|
description: false,
|
|
172
173
|
version: false,
|
|
173
174
|
flags: {
|
|
@@ -357,6 +358,7 @@ ${getSelectorDesc(selector)}
|
|
|
357
358
|
--verbose Output debug messages
|
|
358
359
|
`,
|
|
359
360
|
{
|
|
361
|
+
importMeta: import.meta,
|
|
360
362
|
description: false,
|
|
361
363
|
version: false,
|
|
362
364
|
flags: {
|
package/monitor.js
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|