@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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.1
4
+
5
+ - Fixed: missing option for meow
6
+ - Added: exported common dynamodb command to improve usability
7
+
3
8
  ## 0.11.0
4
9
 
5
10
  - BREAKING: Converted package to modules
package/api.js CHANGED
@@ -102,6 +102,7 @@ ${getSelectorDesc(selector)}
102
102
  --verbose Output debug messages
103
103
  `,
104
104
  {
105
+ importMeta: import.meta,
105
106
  description: false,
106
107
  version: false,
107
108
  flags: {
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,
@@ -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
@@ -86,6 +86,7 @@ ${
86
86
  --verbose Output debug messages
87
87
  `,
88
88
  {
89
+ importMeta: import.meta,
89
90
  description: false,
90
91
  version: false,
91
92
  flags: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certik/skynet",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Skynet Shared JS library",
5
5
  "type": "module",
6
6
  "main": "index.js",
File without changes
File without changes
File without changes
File without changes