@aws-amplify/platform-core
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -70,2 +70,3 @@ "use strict"; | ||
// cannot deserialize | ||
return undefined; | ||
} | ||
@@ -85,2 +86,2 @@ } | ||
exports.AmplifyError = AmplifyError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1wbGlmeV9lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9lcnJvcnMvYW1wbGlmeV9lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx3QkFBbUQ7QUFFbkQ7O0dBRUc7QUFDSCxNQUFzQixZQUFhLFNBQVEsS0FBSztJQXVCNUI7SUFDQTtJQUNDO0lBQ0Q7SUF6QlgsZUFBZSxDQUFVO0lBQ2hCLE9BQU8sQ0FBUztJQUNoQixVQUFVLENBQVU7SUFDcEIsT0FBTyxDQUFVO0lBQ2pCLElBQUksQ0FBVTtJQUNkLElBQUksQ0FBVTtJQUU5Qjs7Ozs7Ozs7Ozs7OztPQWFHO0lBQ0gsWUFDa0IsSUFBc0IsRUFDdEIsY0FBMEMsRUFDekMsT0FBNEIsRUFDN0IsS0FBYTtRQUU3Qiw2RUFBNkU7UUFDN0UsNkVBQTZFO1FBQzdFLEtBQUssQ0FBQyxPQUFPLENBQUMsT0FBTyxFQUFFLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztRQVBsQixTQUFJLEdBQUosSUFBSSxDQUFrQjtRQUN0QixtQkFBYyxHQUFkLGNBQWMsQ0FBNEI7UUFDekMsWUFBTyxHQUFQLE9BQU8sQ0FBcUI7UUFDN0IsVUFBSyxHQUFMLEtBQUssQ0FBUTtRQU03Qiw2SUFBNkk7UUFDN0ksTUFBTSxDQUFDLGNBQWMsQ0FBQyxJQUFJLEVBQUUsWUFBWSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBRXBELElBQUksQ0FBQy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HwgJ0Jvb3RzdHJhcE5vdERldGVjdGVkRXJyb3InXG4gIHwgJ0FjY2Vzc0RlbmllZEVycm9yJ1xuICB8ICdGaWxlQ29udmVudGlvbkVycm9yJztcblxuLyoqXG4gKiBBbXBsaWZ5IGxpYnJhcnkgZmF1bHQgdHlwZXNcbiAqL1xuZXhwb3J0IHR5cGUgQW1wbGlmeUxpYnJhcnlGYXVsdFR5cGUgPSAnVW5rbm93bkZhdWx0JztcbiJdfQ== |
{ | ||
"name": "@aws-amplify/platform-core", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126385
1374