@aws-amplify/interactions 6.1.21 → 6.1.22-local-stack.00864ae.0

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.
@@ -3,7 +3,7 @@
3
3
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
4
  // SPDX-License-Identifier: Apache-2.0
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.assertValidationError = void 0;
6
+ exports.assertValidationError = assertValidationError;
7
7
  const validation_1 = require("./validation");
8
8
  const InteractionsError_1 = require("./InteractionsError");
9
9
  function assertValidationError(assertion, name, message) {
@@ -16,5 +16,4 @@ function assertValidationError(assertion, name, message) {
16
16
  });
17
17
  }
18
18
  }
19
- exports.assertValidationError = assertValidationError;
20
19
  //# sourceMappingURL=assertValidationError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assertValidationError.js","sources":["../../../src/errors/assertValidationError.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertValidationError = void 0;\nconst validation_1 = require(\"./validation\");\nconst InteractionsError_1 = require(\"./InteractionsError\");\nfunction assertValidationError(assertion, name, message) {\n if (!assertion) {\n const { message: defaultMessage, recoverySuggestion } = validation_1.validationErrorMap[name];\n throw new InteractionsError_1.InteractionsError({\n name,\n message: message ?? defaultMessage,\n recoverySuggestion,\n });\n }\n}\nexports.assertValidationError = assertValidationError;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,qBAAqB,GAAG,MAAM;AACtC,MAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;AAC5C,MAAM,mBAAmB,GAAG,OAAO,CAAC,qBAAqB,CAAC;AAC1D,SAAS,qBAAqB,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;AACzD,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC;AACrG,QAAQ,MAAM,IAAI,mBAAmB,CAAC,iBAAiB,CAAC;AACxD,YAAY,IAAI;AAChB,YAAY,OAAO,EAAE,OAAO,IAAI,cAAc;AAC9C,YAAY,kBAAkB;AAC9B,SAAS,CAAC;AACV;AACA;AACA,OAAO,CAAC,qBAAqB,GAAG,qBAAqB;;"}
1
+ {"version":3,"file":"assertValidationError.js","sources":["../../../src/errors/assertValidationError.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertValidationError = assertValidationError;\nconst validation_1 = require(\"./validation\");\nconst InteractionsError_1 = require(\"./InteractionsError\");\nfunction assertValidationError(assertion, name, message) {\n if (!assertion) {\n const { message: defaultMessage, recoverySuggestion } = validation_1.validationErrorMap[name];\n throw new InteractionsError_1.InteractionsError({\n name,\n message: message ?? defaultMessage,\n recoverySuggestion,\n });\n }\n}\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,qBAAqB,GAAG,qBAAqB;AACrD,MAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;AAC5C,MAAM,mBAAmB,GAAG,OAAO,CAAC,qBAAqB,CAAC;AAC1D,SAAS,qBAAqB,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;AACzD,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC;AACrG,QAAQ,MAAM,IAAI,mBAAmB,CAAC,iBAAiB,CAAC;AACxD,YAAY,IAAI;AAChB,YAAY,OAAO,EAAE,OAAO,IAAI,cAAc;AAC9C,YAAY,kBAAkB;AAC9B,SAAS,CAAC;AACV;AACA;;"}
@@ -7,7 +7,7 @@ exports.validationErrorMap = exports.InteractionsValidationErrorCode = void 0;
7
7
  var InteractionsValidationErrorCode;
8
8
  (function (InteractionsValidationErrorCode) {
9
9
  InteractionsValidationErrorCode["NoBotConfig"] = "NoBotConfig";
10
- })(InteractionsValidationErrorCode = exports.InteractionsValidationErrorCode || (exports.InteractionsValidationErrorCode = {}));
10
+ })(InteractionsValidationErrorCode || (exports.InteractionsValidationErrorCode = InteractionsValidationErrorCode = {}));
11
11
  exports.validationErrorMap = {
12
12
  [InteractionsValidationErrorCode.NoBotConfig]: {
13
13
  message: 'Missing configuration for the bot',
@@ -1 +1 @@
1
- {"version":3,"file":"validation.js","sources":["../../../src/errors/validation.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validationErrorMap = exports.InteractionsValidationErrorCode = void 0;\nvar InteractionsValidationErrorCode;\n(function (InteractionsValidationErrorCode) {\n InteractionsValidationErrorCode[\"NoBotConfig\"] = \"NoBotConfig\";\n})(InteractionsValidationErrorCode = exports.InteractionsValidationErrorCode || (exports.InteractionsValidationErrorCode = {}));\nexports.validationErrorMap = {\n [InteractionsValidationErrorCode.NoBotConfig]: {\n message: 'Missing configuration for the bot',\n },\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,+BAA+B,GAAG,MAAM;AAC7E,IAAI,+BAA+B;AACnC,CAAC,UAAU,+BAA+B,EAAE;AAC5C,IAAI,+BAA+B,CAAC,aAAa,CAAC,GAAG,aAAa;AAClE,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,KAAK,OAAO,CAAC,+BAA+B,GAAG,EAAE,CAAC,CAAC;AAC/H,OAAO,CAAC,kBAAkB,GAAG;AAC7B,IAAI,CAAC,+BAA+B,CAAC,WAAW,GAAG;AACnD,QAAQ,OAAO,EAAE,mCAAmC;AACpD,KAAK;AACL,CAAC;;"}
1
+ {"version":3,"file":"validation.js","sources":["../../../src/errors/validation.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validationErrorMap = exports.InteractionsValidationErrorCode = void 0;\nvar InteractionsValidationErrorCode;\n(function (InteractionsValidationErrorCode) {\n InteractionsValidationErrorCode[\"NoBotConfig\"] = \"NoBotConfig\";\n})(InteractionsValidationErrorCode || (exports.InteractionsValidationErrorCode = InteractionsValidationErrorCode = {}));\nexports.validationErrorMap = {\n [InteractionsValidationErrorCode.NoBotConfig]: {\n message: 'Missing configuration for the bot',\n },\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,+BAA+B,GAAG,MAAM;AAC7E,IAAI,+BAA+B;AACnC,CAAC,UAAU,+BAA+B,EAAE;AAC5C,IAAI,+BAA+B,CAAC,aAAa,CAAC,GAAG,aAAa;AAClE,CAAC,EAAE,+BAA+B,KAAK,OAAO,CAAC,+BAA+B,GAAG,+BAA+B,GAAG,EAAE,CAAC,CAAC;AACvH,OAAO,CAAC,kBAAkB,GAAG;AAC7B,IAAI,CAAC,+BAA+B,CAAC,WAAW,GAAG;AACnD,QAAQ,OAAO,EAAE,mCAAmC;AACpD,KAAK;AACL,CAAC;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/interactions",
3
- "version": "6.1.21",
3
+ "version": "6.1.22-local-stack.00864ae.0+00864ae",
4
4
  "description": "Interactions category of aws-amplify",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -81,8 +81,7 @@
81
81
  "uuid": "^9.0.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@aws-amplify/core": "6.11.4",
85
- "typescript": "^5.0.2"
84
+ "@aws-amplify/core": "6.11.5-local-stack.00864ae.0+00864ae"
86
85
  },
87
86
  "size-limit": [
88
87
  {
@@ -104,5 +103,5 @@
104
103
  "limit": "47.46 kB"
105
104
  }
106
105
  ],
107
- "gitHead": "f2ac9929610f7f878f124083ceaf03465113cd44"
106
+ "gitHead": "00864aec571d0509655eea0673e896d69d434972"
108
107
  }