Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/deployed-backend-client

Package Overview
Dependencies
Maintainers
10
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/deployed-backend-client - npm Package Compare versions

Comparing version 0.4.0-beta.3 to 0.4.0-beta.4

1

lib/deployed_backend_client_factory.d.ts

@@ -51,2 +51,3 @@ import { AwsCredentialIdentityProvider } from '@aws-sdk/types';

apiId: string;
modelSchemaS3Uri: string;
};

@@ -53,0 +54,0 @@ authConfiguration?: {

2

lib/deployed_backend_client_factory.js

@@ -58,2 +58,2 @@ import { DefaultDeployedBackendClient } from './deployed_backend_client.js';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95ZWRfYmFja2VuZF9jbGllbnRfZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9kZXBsb3llZF9iYWNrZW5kX2NsaWVudF9mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBRTVFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3RFLE9BQU8sRUFFTCwwQkFBMEIsR0FDM0IsTUFBTSxvQ0FBb0MsQ0FBQztBQUM1QyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDOUMsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sNERBQTRELENBQUM7QUFDekcsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0RBQWtELENBQUM7QUFDckYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRDQUE0QyxDQUFDO0FBQzFFLE9BQU8s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ICAgICBhcm5HZW5lcmF0b3IsXG4gICAgICBhcm5QYXJzZXJcbiAgICApO1xuXG4gICAgaWYgKFxuICAgICAgJ2JhY2tlbmRPdXRwdXRDbGllbnQnIGluIG9wdGlvbnMgJiZcbiAgICAgICdjbG91ZEZvcm1hdGlvbkNsaWVudCcgaW4gb3B0aW9ucyAmJlxuICAgICAgJ3MzQ2xpZW50JyBpbiBvcHRpb25zXG4gICAgKSB7XG4gICAgICByZXR1cm4gbmV3IERlZmF1bHREZXBsb3llZEJhY2tlbmRDbGllbnQoXG4gICAgICAgIG9wdGlvbnMuY2xvdWRGb3JtYXRpb25DbGllbnQsXG4gICAgICAgIG9wdGlvbnMuczNDbGllbnQsXG4gICAgICAgIG9wdGlvbnMuYmFja2VuZE91dHB1dENsaWVudCxcbiAgICAgICAgZGVwbG95ZWRSZXNvdXJjZXNFbnVtZXJhdG9yLFxuICAgICAgICBzdGFja1N0YXR1c01hcHBlcixcbiAgICAgICAgYXJuUGFyc2VyXG4gICAgICApO1xuICAgIH1cbiAgICByZXR1cm4gbmV3IERlZmF1bHREZXBsb3llZEJhY2tlbmRDbGllbnQoXG4gICAgICBuZXcgQ2xvdWRGb3JtYXRpb25DbGllbnQob3B0aW9ucy5jcmVkZW50aWFscyksXG4gICAgICBuZXcgUzNDbGllbnQob3B0aW9ucy5jcmVkZW50aWFscyksXG4gICAgICBCYWNrZW5kT3V0cHV0Q2xpZW50RmFjdG9yeS5nZXRJbnN0YW5jZSh7XG4gICAgICAgIGNyZWRlbnRpYWxzOiBvcHRpb25zLmNyZWRlbnRpYWxzLFxuICAgICAgfSksXG4gICAgICBkZXBsb3llZFJlc291cmNlc0VudW1lcmF0b3IsXG4gICAgICBzdGFja1N0YXR1c01hcHBlcixcbiAgICAgIGFyblBhcnNlclxuICAgICk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95ZWRfYmFja2VuZF9jbGllbnR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YXRvcixcbiAgICAgICAgc3RhY2tTdGF0dXNNYXBwZXIsXG4gICAgICAgIGFyblBhcnNlclxuICAgICAgKTtcbiAgICB9XG4gICAgcmV0dXJuIG5ldyBEZWZhdWx0RGVwbG95ZWRCYWNrZW5kQ2xpZW50KFxuICAgICAgbmV3IENsb3VkRm9ybWF0aW9uQ2xpZW50KG9wdGlvbnMuY3JlZGVudGlhbHMpLFxuICAgICAgbmV3IFMzQ2xpZW50KG9wdGlvbnMuY3JlZGVudGlhbHMpLFxuICAgICAgQmFja2VuZE91dHB1dENsaWVudEZhY3RvcnkuZ2V0SW5zdGFuY2Uoe1xuICAgICAgICBjcmVkZW50aWFsczogb3B0aW9ucy5jcmVkZW50aWFscyxcbiAgICAgIH0pLFxuICAgICAgZGVwbG95ZWRSZXNvdXJjZXNFbnVtZXJhdG9yLFxuICAgICAgc3RhY2tTdGF0dXNNYXBwZXIsXG4gICAgICBhcm5QYXJzZXJcbiAgICApO1xuICB9XG59XG4iXX0=

@@ -192,2 +192,4 @@ import { BackendIdentifierConversions } from '@aws-amplify/platform-core';

.awsAppsyncApiId,
modelSchemaS3Uri: backendOutput[graphqlOutputKey]?.payload
.amplifyApiModelSchemaS3Uri,
};

@@ -236,2 +238,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95ZWRfYmFja2VuZF9jbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZGVwbG95ZWRfYmFja2VuZF9jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JBLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzFFLE9BQU8sRUFHTCw0QkFBNEIsR0FDN0IsTUFBTSxvQ0FBb0MsQ0FBQztBQUM1QyxPQUFPLEVBRUwsa0JBQWtCLEVBQ2xCLHFCQUFxQixFQUNyQix5QkFBeUIsRU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XJuIChcbiAgICAgICAgICAgIHRoaXMuZ2V0QmFja2VuZFN0YWNrVHlwZShzdGFja1N1bW1hcnkuU3RhY2tOYW1lKSA9PT0gZGVwbG95bWVudFR5cGVcbiAgICAgICAgICApO1xuICAgICAgICB9KVxuICAgICAgICAubWFwKGFzeW5jIChzdGFja1N1bW1hcnk6IFN0YWNrU3VtbWFyeSkgPT4ge1xuICAgICAgICAgIGNvbnN0IGRlcGxveW1lbnRUeXBlID0gYXdhaXQgdGhpcy50cnlHZXREZXBsb3ltZW50VHlwZShzdGFja1N1bW1hcnkpO1xuXG4gICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIG5hbWU6IHN0YWNrU3VtbWFyeS5TdGFja05hbWUgYXMgc3RyaW5nLFxuICAgICAgICAgICAgYmFja2VuZElkOiBCYWNrZW5kSWRlbnRpZmllckNvbnZlcnNpb25zLmZyb21TdGFja05hbWUoXG4gICAgICAgICAgICAgIHN0YWNrU3VtbWFyeS5TdGFja05hbWVcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICBsYXN0VXBkYXRlZDpcbiAgICAgICAgICAgICAgc3RhY2tTdW1tYXJ5Lkxhc3RVcGRhdGVkVGltZSA/PyBzdGFja1N1bW1hcnkuQ3JlYXRpb25UaW1lLFxuICAgICAgICAgICAgc3RhdHVzOiB0aGlzLnN0YWNrU3RhdHVzTWFwcGVyLnRyYW5zbGF0ZVN0YWNrU3RhdHVzKFxuICAgICAgICAgICAgICBzdGFja1N1bW1hcnkuU3RhY2tTdGF0dXNcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICBkZXBsb3ltZW50VHlwZSxcbiAgICAgICAgICB9O1xuICAgICAgICB9KTtcblxuICAgICAgY29uc3Qgc3RhY2tNZXRhZGF0YVJlc29sdmVkUHJvbWlzZXMgPSBhd2FpdCBQcm9taXNlLmFsbChcbiAgICAgICAgc3RhY2tNZXRhZGF0YVByb21pc2VzXG4gICAgICApO1xuICAgICAgY29uc3QgZmlsdGVyZWRN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T4ge1xuICAgIGlmICghc2NoZW1hUzNVcmkpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignc2NoZW1hUzNVcmkgb3V0cHV0IGlzIG5vdCBhdmFpbGFibGUnKTtcbiAgICB9XG5cbiAgICAvLyBzMzovL3tidWNrZXROYW1lfS97ZmlsZU5hbWV9XG4gICAgY29uc3QgdXJpUGFydHMgPSBzY2hlbWFTM1VyaS5zcGxpdCgnLycpO1xuICAgIGNvbnN0IGJ1Y2tldE5hbWUgPSB1cmlQYXJ0c1syXTtcbiAgICBjb25zdCBvYmplY3RQYXRoID0gdXJpUGFydHMuc2xpY2UoMywgdXJpUGFydHMubGVuZ3RoKS5qb2luKCcvJyk7XG5cbiAgICBpZiAoIWJ1Y2tldE5hbWUgfHwgIW9iamVjdFBhdGgpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignc2NoZW1hUzNVcmkgaXMgbm90IHZhbGlkJyk7XG4gICAgfVxuXG4gICAgY29uc3QgczNSZXNwb25zZSA9IGF3YWl0IHRoaXMuczNDbGllbnQuc2VuZChcbiAgICAgIG5ldyBHZXRPYmplY3RDb21tYW5kKHsgQnVja2V0OiBidWNrZXROYW1lLCBLZXk6IG9iamVjdFBhdGggfSlcbiAgICApO1xuXG4gICAgaWYgKCFzM1Jlc3BvbnNlLkJvZHkpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgczNSZXNwb25zZSBmcm9tICR7c2NoZW1hUzNVcml9IGRvZXMgbm90IGNvbnRhaW4gYSBCb2R5YCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIGF3YWl0IHMzUmVzcG9uc2UuQm9keT8udHJhbnNmb3JtVG9TdHJpbmcoKTtcbiAgfTtcbn1cbiJdfQ==
{
"name": "@aws-amplify/deployed-backend-client",
"version": "0.4.0-beta.3",
"version": "0.4.0-beta.4",
"type": "module",

@@ -22,3 +22,3 @@ "publishConfig": {

"@aws-amplify/backend-output-schemas": "^0.7.0-beta.0",
"@aws-amplify/platform-core": "^0.5.0-beta.2",
"@aws-amplify/platform-core": "^0.5.0-beta.3",
"@aws-sdk/client-amplify": "^3.465.0",

@@ -25,0 +25,0 @@ "@aws-sdk/client-cloudformation": "^3.465.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc