web/satellite: import and setup AWS s3 client

WHAT:
import and setup S3 client that will be used to manage buckets

WHY:
to manage buckets

Change-Id: I27f5c03082e687aab32346eedd889a2218407238
This commit is contained in:
Vitalii Shpital 2021-03-18 21:48:10 +02:00
parent 346b85b66d
commit ebf6bee0d4
4 changed files with 830 additions and 7 deletions

View File

@ -4,6 +4,789 @@
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@aws-crypto/crc32": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-1.0.0.tgz",
"integrity": "sha512-wr4EyCv3ZfLH3Sg7FErV6e/cLhpk9rUP/l5322y8PRgpQsItdieaLbtE4aDOR+dxl8U7BG9FIwWXH4TleTDZ9A==",
"requires": {
"tslib": "^1.11.1"
}
},
"@aws-crypto/ie11-detection": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/ie11-detection/-/ie11-detection-1.0.0.tgz",
"integrity": "sha512-kCKVhCF1oDxFYgQrxXmIrS5oaWulkvRcPz+QBDMsUr2crbF4VGgGT6+uQhSwJFdUAQ2A//Vq+uT83eJrkzFgXA==",
"requires": {
"tslib": "^1.11.1"
}
},
"@aws-crypto/sha256-browser": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-1.1.0.tgz",
"integrity": "sha512-VIpuLRDonMAHgomrsm/zKbeXTnxpr4aHDQmS4pF+NcpvBp64l675yjGA9hyUYs/QJwBjUl8WqMjh9tIRgi85Sg==",
"requires": {
"@aws-crypto/ie11-detection": "^1.0.0",
"@aws-crypto/sha256-js": "^1.1.0",
"@aws-crypto/supports-web-crypto": "^1.0.0",
"@aws-sdk/types": "^3.1.0",
"@aws-sdk/util-locate-window": "^3.0.0",
"@aws-sdk/util-utf8-browser": "^3.0.0",
"tslib": "^1.11.1"
}
},
"@aws-crypto/sha256-js": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-1.1.0.tgz",
"integrity": "sha512-VIhuqbPgXDVr8sZe2yhgQcDRRmzf4CI8fmC1A3bHiRfE6wlz1d8KpeemqbuoEHotz/Dch9yOxlshyQDNjNFeHA==",
"requires": {
"@aws-sdk/types": "^3.1.0",
"@aws-sdk/util-utf8-browser": "^3.0.0",
"tslib": "^1.11.1"
}
},
"@aws-crypto/supports-web-crypto": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-1.0.0.tgz",
"integrity": "sha512-IHLfv+WmVH89EW4n6a5eE8/hUlz6qkWGMn/v4r5ZgzcXdTC5nolii2z3k46y01hWRiC2PPhOdeSLzMUCUMco7g==",
"requires": {
"tslib": "^1.11.1"
}
},
"@aws-sdk/abort-controller": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/abort-controller/-/abort-controller-3.6.1.tgz",
"integrity": "sha512-X81XkxX/2Tvv9YNcEto/rcQzPIdKJHFSnl9hBl/qkSdCFV/GaQ2XNWfKm5qFXMLlZNFS0Fn5CnBJ83qnBm47vg==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/chunked-blob-reader": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader/-/chunked-blob-reader-3.6.1.tgz",
"integrity": "sha512-QBGUBoD8D5nsM/EKoc0rjpApa5NE5pQVzw1caE8sG00QMMPkCXWSB/gTVKVY0GOAhJFoA/VpVPQchIlZcOrBFg==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/chunked-blob-reader-native": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader-native/-/chunked-blob-reader-native-3.6.1.tgz",
"integrity": "sha512-vP6bc2v9h442Srmo7t2QcIbPjk5IqLSf4jGnKDAes8z+7eyjCtKugRP3lOM1fJCfGlPIsJGYnexxYdEGw008vA==",
"requires": {
"@aws-sdk/util-base64-browser": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/client-s3": {
"version": "3.8.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.8.1.tgz",
"integrity": "sha512-jCYMZ7mppu7kFid0sk57e1Hb9hPLvkKnBSOjVC2IjxFz+qHHr1Bir321iWeWE0V629iW9thk1KE9eWRYUxRTiw==",
"requires": {
"@aws-crypto/sha256-browser": "^1.0.0",
"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/config-resolver": "3.8.0",
"@aws-sdk/credential-provider-node": "3.8.0",
"@aws-sdk/eventstream-serde-browser": "3.6.1",
"@aws-sdk/eventstream-serde-config-resolver": "3.6.1",
"@aws-sdk/eventstream-serde-node": "3.6.1",
"@aws-sdk/fetch-http-handler": "3.6.1",
"@aws-sdk/hash-blob-browser": "3.6.1",
"@aws-sdk/hash-node": "3.6.1",
"@aws-sdk/hash-stream-node": "3.6.1",
"@aws-sdk/invalid-dependency": "3.6.1",
"@aws-sdk/md5-js": "3.6.1",
"@aws-sdk/middleware-apply-body-checksum": "3.6.1",
"@aws-sdk/middleware-bucket-endpoint": "3.8.0",
"@aws-sdk/middleware-content-length": "3.6.1",
"@aws-sdk/middleware-expect-continue": "3.6.1",
"@aws-sdk/middleware-host-header": "3.6.1",
"@aws-sdk/middleware-location-constraint": "3.6.1",
"@aws-sdk/middleware-logger": "3.6.1",
"@aws-sdk/middleware-retry": "3.8.0",
"@aws-sdk/middleware-sdk-s3": "3.6.1",
"@aws-sdk/middleware-serde": "3.6.1",
"@aws-sdk/middleware-signing": "3.8.1",
"@aws-sdk/middleware-ssec": "3.6.1",
"@aws-sdk/middleware-stack": "3.6.1",
"@aws-sdk/middleware-user-agent": "3.6.1",
"@aws-sdk/node-config-provider": "3.8.0",
"@aws-sdk/node-http-handler": "3.6.1",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/smithy-client": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/url-parser": "3.6.1",
"@aws-sdk/url-parser-native": "3.6.1",
"@aws-sdk/util-base64-browser": "3.6.1",
"@aws-sdk/util-base64-node": "3.6.1",
"@aws-sdk/util-body-length-browser": "3.6.1",
"@aws-sdk/util-body-length-node": "3.6.1",
"@aws-sdk/util-user-agent-browser": "3.6.1",
"@aws-sdk/util-user-agent-node": "3.8.0",
"@aws-sdk/util-utf8-browser": "3.6.1",
"@aws-sdk/util-utf8-node": "3.6.1",
"@aws-sdk/util-waiter": "3.6.1",
"@aws-sdk/xml-builder": "3.6.1",
"fast-xml-parser": "3.17.4",
"tslib": "^2.0.0"
},
"dependencies": {
"tslib": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
"integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A=="
}
}
},
"@aws-sdk/client-sso": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.8.0.tgz",
"integrity": "sha512-7ACmEm7FVe6WnW7XimqpPeF02i2JtFsuP72u8V0p4u8Jo1li9WOE9qc/Q2u9ptDhKQ+YL49dRLW65Ltu4JsFIw==",
"requires": {
"@aws-crypto/sha256-browser": "^1.0.0",
"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/config-resolver": "3.8.0",
"@aws-sdk/fetch-http-handler": "3.6.1",
"@aws-sdk/hash-node": "3.6.1",
"@aws-sdk/invalid-dependency": "3.6.1",
"@aws-sdk/middleware-content-length": "3.6.1",
"@aws-sdk/middleware-host-header": "3.6.1",
"@aws-sdk/middleware-logger": "3.6.1",
"@aws-sdk/middleware-retry": "3.8.0",
"@aws-sdk/middleware-serde": "3.6.1",
"@aws-sdk/middleware-stack": "3.6.1",
"@aws-sdk/middleware-user-agent": "3.6.1",
"@aws-sdk/node-config-provider": "3.8.0",
"@aws-sdk/node-http-handler": "3.6.1",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/smithy-client": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/url-parser": "3.6.1",
"@aws-sdk/url-parser-native": "3.6.1",
"@aws-sdk/util-base64-browser": "3.6.1",
"@aws-sdk/util-base64-node": "3.6.1",
"@aws-sdk/util-body-length-browser": "3.6.1",
"@aws-sdk/util-body-length-node": "3.6.1",
"@aws-sdk/util-user-agent-browser": "3.6.1",
"@aws-sdk/util-user-agent-node": "3.8.0",
"@aws-sdk/util-utf8-browser": "3.6.1",
"@aws-sdk/util-utf8-node": "3.6.1",
"tslib": "^2.0.0"
},
"dependencies": {
"tslib": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz",
"integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A=="
}
}
},
"@aws-sdk/config-resolver": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/config-resolver/-/config-resolver-3.8.0.tgz",
"integrity": "sha512-dtVB+yaT6gEqvzDt/pFS2suESTHb4qMiak3i34emSAcXilLYwOm3avUV/GApc499epQdxv/aRDAupanLVqTA1g==",
"requires": {
"@aws-sdk/signature-v4": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-env": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.8.0.tgz",
"integrity": "sha512-XUTu1rN1JAGEw3E5WBy00c5Dsu1WKG807bRNSMhlHZDus0ml24MHnypeQ7A2sluE1RJDUZC6vo4GmpM0pV//ug==",
"requires": {
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-imds": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-imds/-/credential-provider-imds-3.8.0.tgz",
"integrity": "sha512-//O6uy4HX3KeFTcGP/+GUPQhj1Ljooh+Lp0DDXqkXa79cfV2zCqoBDXeOHiPPwZCWQ14hYhD2qcriiiqEXFsmA==",
"requires": {
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-ini": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.8.0.tgz",
"integrity": "sha512-p/1fiV0vwN9VmNZh/4CVAJXrLpHZO6Dm5OPdIKmmQJaiF9/pZFTaxO82xtMiELDcRV4FAueGV+ptEHIJMZAfsg==",
"requires": {
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/shared-ini-file-loader": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-node": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.8.0.tgz",
"integrity": "sha512-O5r2LdPlsKlipyFsfDPnhnWnpW/K7MQ0W+7mOJoEaGUnB/ua7VrEvRiqacKWbjzqNz+ztyZZMWaiqJQCOjIINA==",
"requires": {
"@aws-sdk/credential-provider-env": "3.8.0",
"@aws-sdk/credential-provider-imds": "3.8.0",
"@aws-sdk/credential-provider-ini": "3.8.0",
"@aws-sdk/credential-provider-process": "3.8.0",
"@aws-sdk/credential-provider-sso": "3.8.0",
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/shared-ini-file-loader": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-process": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.8.0.tgz",
"integrity": "sha512-8wsJFne7CzJnf1D3TjD831WyJsJjEPK+zITgN2FWijUlsC3A8n7cibwRnGOWoSIh3hO6ELNflr33tL1GD2qd/g==",
"requires": {
"@aws-sdk/credential-provider-ini": "3.8.0",
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/shared-ini-file-loader": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/credential-provider-sso": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.8.0.tgz",
"integrity": "sha512-9sd6vBgs2uZVUz1tCiX6OuA/u21UL4ekzRpUMSs1NBin1Za1axYSOpjFDo/u2ajg9EYJ6s0SsE96y8WCDmq8vA==",
"requires": {
"@aws-sdk/client-sso": "3.8.0",
"@aws-sdk/credential-provider-ini": "3.8.0",
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/shared-ini-file-loader": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/eventstream-marshaller": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-marshaller/-/eventstream-marshaller-3.6.1.tgz",
"integrity": "sha512-ZvN3Nvxn2Gul08L9MOSN123LwSO0E1gF/CqmOGZtEWzPnoSX/PWM9mhPPeXubyw2KdlXylOodYYw3EAATk3OmA==",
"requires": {
"@aws-crypto/crc32": "^1.0.0",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-hex-encoding": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/eventstream-serde-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-browser/-/eventstream-serde-browser-3.6.1.tgz",
"integrity": "sha512-J8B30d+YUfkBtgWRr7+9AfYiPnbG28zjMlFGsJf8Wxr/hDCfff+Z8NzlBYFEbS7McXXhRiIN8DHUvCtolJtWJQ==",
"requires": {
"@aws-sdk/eventstream-marshaller": "3.6.1",
"@aws-sdk/eventstream-serde-universal": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/eventstream-serde-config-resolver": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.6.1.tgz",
"integrity": "sha512-72pCzcT/KeD4gPgRVBSQzEzz4JBim8bNwPwZCGaIYdYAsAI8YMlvp0JNdis3Ov9DFURc87YilWKQlAfw7CDJxA==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/eventstream-serde-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-node/-/eventstream-serde-node-3.6.1.tgz",
"integrity": "sha512-rjBbJFjCrEcm2NxZctp+eJmyPxKYayG3tQZo8PEAQSViIlK5QexQI3fgqNAeCtK7l/SFAAvnOMRZF6Z3NdUY6A==",
"requires": {
"@aws-sdk/eventstream-marshaller": "3.6.1",
"@aws-sdk/eventstream-serde-universal": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/eventstream-serde-universal": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-serde-universal/-/eventstream-serde-universal-3.6.1.tgz",
"integrity": "sha512-rpRu97yAGHr9GQLWMzcGICR2PxNu1dHU/MYc9Kb6UgGeZd4fod4o1zjhAJuj98cXn2xwHNFM4wMKua6B4zKrZg==",
"requires": {
"@aws-sdk/eventstream-marshaller": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/fetch-http-handler": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/fetch-http-handler/-/fetch-http-handler-3.6.1.tgz",
"integrity": "sha512-N8l6ZbwhINuWG5hsl625lmIQmVjzsqRPmlgh061jm5D90IhsM5/3A3wUxpB/k0av1dmuMRw/m0YtBU5w4LOwvw==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/querystring-builder": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-base64-browser": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/hash-blob-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.6.1.tgz",
"integrity": "sha512-9jPaZ/e3F8gf9JZd44DD6MvbYV6bKnn99rkG3GFIINOy9etoxPrLehp2bH2DK/j0ow60RNuwgUjj5qHV/zF67g==",
"requires": {
"@aws-sdk/chunked-blob-reader": "3.6.1",
"@aws-sdk/chunked-blob-reader-native": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/hash-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/hash-node/-/hash-node-3.6.1.tgz",
"integrity": "sha512-iKEpzpyaG9PYCnaOGwTIf0lffsF/TpsXrzAfnBlfeOU/3FbgniW2z/yq5xBbtMDtLobtOYC09kUFwDnDvuveSA==",
"requires": {
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-buffer-from": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/hash-stream-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.6.1.tgz",
"integrity": "sha512-ePaWjCItIWxuSxA/UnUM/keQ3IAOsQz3FYSxu0KK8K0e1bKTEUgDIG9oMLBq7jIl9TzJG0HBXuPfMe73QHUNug==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/invalid-dependency": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/invalid-dependency/-/invalid-dependency-3.6.1.tgz",
"integrity": "sha512-d0RLqK7yeDCZJKopnGmGXo2rYkQNE7sGKVmBHQD1j1kKZ9lWwRoJeWqo834JNPZzY5XRvZG5SuIjJ1kFy8LpyQ==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/is-array-buffer": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.6.1.tgz",
"integrity": "sha512-qm2iDJmCrxlQE2dsFG+TujPe7jw4DF+4RTrsFMhk/e3lOl3MAzQ6Fc2kXtgeUcVrZVFTL8fQvXE1ByYyI6WbCw==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/md5-js": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.6.1.tgz",
"integrity": "sha512-lzCqkZF1sbzGFDyq1dI+lR3AmlE33rbC/JhZ5fzw3hJZvfZ6Beq3Su7YwDo65IWEu0zOKYaNywTeOloXP/CkxQ==",
"requires": {
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-utf8-browser": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-apply-body-checksum": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-apply-body-checksum/-/middleware-apply-body-checksum-3.6.1.tgz",
"integrity": "sha512-IncmXR1MPk6aYvmD37It8dP6wVMzaxxzgrkIU2ACkN5UVwA+/0Sr3ZNd9dNwjpyoH1AwpL9BetnlJaWtT6K5ew==",
"requires": {
"@aws-sdk/is-array-buffer": "3.6.1",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-bucket-endpoint": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.8.0.tgz",
"integrity": "sha512-hhcZE9HMvWImWH3kAqml+ddEbHEU4m9QQmtPNp49sD4D8+EbwWFOhq8B2gWT/I66VWORR1IlUlXEWoxwL9RJ6w==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-arn-parser": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-content-length": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-content-length/-/middleware-content-length-3.6.1.tgz",
"integrity": "sha512-QRcocG9f5YjYzbjs2HjKla6ZIjvx8Y8tm1ZSFOPey81m18CLif1O7M3AtJXvxn+0zeSck9StFdhz5gfjVNYtDg==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-expect-continue": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.6.1.tgz",
"integrity": "sha512-vvMOqVYU3uvdJzg/X6NHewZUEBZhSqND1IEcdahLb6RmvDhsS39iS97VZmEFsjj/UFGoePtYjrrdEgRG9Rm1kQ==",
"requires": {
"@aws-sdk/middleware-header-default": "3.6.1",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-header-default": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-header-default/-/middleware-header-default-3.6.1.tgz",
"integrity": "sha512-YD137iIctXVH8Eut0WOBalvvA+uL0jM0UXZ9N2oKrC8kPQPpqjK9lYGFKZQFsl/XlQHAjJi+gCAFrYsBntRWJQ==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-host-header": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.6.1.tgz",
"integrity": "sha512-nwq8R2fGBRZQE0Fr/jiOgqfppfiTQCUoD8hyX3qSS7Qc2uqpsDOt2TnnoZl56mpQYkF/344IvMAkp+ew6wR73w==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-location-constraint": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.6.1.tgz",
"integrity": "sha512-nFisTc0O5D+4I+sRxiiLPasC/I4NDc3s+hgbPPt/b3uAdrujJjhwFBOSaTx8qQvz/xJPAA8pUA/bfWIyeZKi/w==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-logger": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.6.1.tgz",
"integrity": "sha512-zxaSLpwKlja7JvK20UsDTxPqBZUo3rbDA1uv3VWwpxzOrEWSlVZYx/KLuyGWGkx9V71ZEkf6oOWWJIstS0wyQQ==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-retry": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-retry/-/middleware-retry-3.8.0.tgz",
"integrity": "sha512-VzBEMO7h+doctrNSuNXQhTs8pkR2r6qCEDIn3xRen4qaG80PpryC7oUExhuFyAljQBRsAH7ZPZtlSh7cAKnhTA==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/service-error-classification": "3.6.1",
"@aws-sdk/types": "3.6.1",
"react-native-get-random-values": "^1.4.0",
"tslib": "^1.8.0",
"uuid": "^3.0.0"
}
},
"@aws-sdk/middleware-sdk-s3": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.6.1.tgz",
"integrity": "sha512-HEA9kynNTsOSIIz8p5GEEAH03pnn+SSohwPl80sGqkmI1yl1tzjqgYZRii0e6acJTh4j9655XFzSx36hYPeB2w==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-arn-parser": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-serde": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-serde/-/middleware-serde-3.6.1.tgz",
"integrity": "sha512-EdQCFZRERfP3uDuWcPNuaa2WUR3qL1WFDXafhcx+7ywQxagdYqBUWKFJlLYi6njbkOKXFM+eHBzoXGF0OV3MJA==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-signing": {
"version": "3.8.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.8.1.tgz",
"integrity": "sha512-g6tJS/ph1whk7AsNOlFetAiZdvB2k0RHfoO5g6TPDAV8pvBLgjdhmTJg349iPyMDD2f1eabN3GGbeC0mDDEFMA==",
"requires": {
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/signature-v4": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-ssec": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.6.1.tgz",
"integrity": "sha512-svuH6s91uKUTORt51msiL/ZBjtYSW32c3uVoWxludd/PEf6zO5wCmUEsKoyVwa88L7rrCq+81UBv5A8S5kc3Cw==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-stack": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-stack/-/middleware-stack-3.6.1.tgz",
"integrity": "sha512-EPsIxMi8LtCt7YwTFpWGlVGYJc0q4kwFbOssY02qfqdCnyqi2y5wo089dH7OdxUooQ0D7CPsXM1zTTuzvm+9Fw==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/middleware-user-agent": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.6.1.tgz",
"integrity": "sha512-YvXvwllNDVvxQ30vIqLsx+P6jjnfFEQUmhlv64n98gOme6h2BqoyQDcC3yHRGctuxRZEsR7W/H1ASTKC+iabbQ==",
"requires": {
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/node-config-provider": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/node-config-provider/-/node-config-provider-3.8.0.tgz",
"integrity": "sha512-VBpFquxACQO9MbdOIz35JgwOH+oJ5JwXpEq2faIhK+0zyM0JqLfJNFnnmHaEH9kBVcdOYJihzDgFje3AnYn7PQ==",
"requires": {
"@aws-sdk/property-provider": "3.8.0",
"@aws-sdk/shared-ini-file-loader": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/node-http-handler": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/node-http-handler/-/node-http-handler-3.6.1.tgz",
"integrity": "sha512-6XSaoqbm9ZF6T4UdBCcs/Gn2XclwBotkdjj46AxO+9vRAgZDP+lH/8WwZsvfqJhhRhS0qxWrks98WGJwmaTG8g==",
"requires": {
"@aws-sdk/abort-controller": "3.6.1",
"@aws-sdk/protocol-http": "3.6.1",
"@aws-sdk/querystring-builder": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/property-provider": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/property-provider/-/property-provider-3.8.0.tgz",
"integrity": "sha512-9tOvTp6ObNdBgkqxXu5bpEdyzVnStO+aUprTbCH0lUfgCeig4q21xOt6Xsqt616WGtDJCAbMcdCay0XiDLLjAw==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/protocol-http": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/protocol-http/-/protocol-http-3.6.1.tgz",
"integrity": "sha512-WkQz7ncVYTLvCidDfXWouDzqxgSNPZDz3Bql+7VhZeITnzAEcr4hNMyEqMAVYBVugGmkG2W6YiUqNNs1goOcDA==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/querystring-builder": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/querystring-builder/-/querystring-builder-3.6.1.tgz",
"integrity": "sha512-ESe255Yl6vB1AMNqaGSQow3TBYYnpw0AFjE40q2VyiNrkbaqKmW2EzjeCy3wEmB1IfJDHy3O12ZOMUMOnjFT8g==",
"requires": {
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-uri-escape": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/querystring-parser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/querystring-parser/-/querystring-parser-3.6.1.tgz",
"integrity": "sha512-hh6dhqamKrWWaDSuO2YULci0RGwJWygoy8hpCRxs/FpzzHIcbm6Cl6Jhrn5eKBzOBv+PhCcYwbfad0kIZZovcQ==",
"requires": {
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/service-error-classification": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/service-error-classification/-/service-error-classification-3.6.1.tgz",
"integrity": "sha512-kZ7ZhbrN1f+vrSRkTJvXsu7BlOyZgym058nPA745+1RZ1Rtv4Ax8oknf2RvJyj/1qRUi8LBaAREjzQ3C8tmLBA=="
},
"@aws-sdk/shared-ini-file-loader": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/shared-ini-file-loader/-/shared-ini-file-loader-3.8.0.tgz",
"integrity": "sha512-wjywtEcsYPwB+asK5iWGeox9ZI4ycaxIGRKJTahFo+VUK6mByIEEG/IF7HuQclSSeDFTt9Occ7hQpXpJ97zpdA==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/signature-v4": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4/-/signature-v4-3.6.1.tgz",
"integrity": "sha512-EAR0qGVL4AgzodZv4t+BSuBfyOXhTNxDxom50IFI1MqidR9vI6avNZKcPHhgXbm7XVcsDGThZKbzQ2q7MZ2NTA==",
"requires": {
"@aws-sdk/is-array-buffer": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-hex-encoding": "3.6.1",
"@aws-sdk/util-uri-escape": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/smithy-client": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/smithy-client/-/smithy-client-3.6.1.tgz",
"integrity": "sha512-AVpRK4/iUxNeDdAm8UqP0ZgtgJMQeWcagTylijwelhWXyXzHUReY1sgILsWcdWnoy6gq845W7K2VBhBleni8+w==",
"requires": {
"@aws-sdk/middleware-stack": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/types": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.6.1.tgz",
"integrity": "sha512-4Dx3eRTrUHLxhFdLJL8zdNGzVsJfAxtxPYYGmIddUkO2Gj3WA1TGjdfG4XN/ClI6e1XonCHafQX3UYO/mgnH3g=="
},
"@aws-sdk/url-parser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/url-parser/-/url-parser-3.6.1.tgz",
"integrity": "sha512-pWFIePDx0PMCleQRsQDWoDl17YiijOLj0ZobN39rQt+wv5PhLSZDz9PgJsqS48nZ6hqsKgipRcjiBMhn5NtFcQ==",
"requires": {
"@aws-sdk/querystring-parser": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/url-parser-native": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/url-parser-native/-/url-parser-native-3.6.1.tgz",
"integrity": "sha512-3O+ktsrJoE8YQCho9L41YXO8EWILXrSeES7amUaV3mgIV5w4S3SB/r4RkmylpqRpQF7Ry8LFiAnMqH1wa4WBPA==",
"requires": {
"@aws-sdk/querystring-parser": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0",
"url": "^0.11.0"
}
},
"@aws-sdk/util-arn-parser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.6.1.tgz",
"integrity": "sha512-NFdYeuhaSrgnBG6Pt3zHNU7QwvhHq6sKUTWZShUayLMJYYbQr6IjmYVlPST4c84b+lyDoK68y/Zga621VfIdBg==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-base64-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-base64-browser/-/util-base64-browser-3.6.1.tgz",
"integrity": "sha512-+DHAIgt0AFARDVC7J0Z9FkSmJhBMlkYdOPeAAgO0WaQoKj7rtsLQJ7P3v3aS1paKN5/sk5xNY7ziVB6uHtOvHA==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-base64-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-base64-node/-/util-base64-node-3.6.1.tgz",
"integrity": "sha512-oiqzpsvtTSS92+cL3ykhGd7t3qBJKeHvrgOwUyEf1wFWHQ2DPJR+dIMy5rMFRXWLKCl3w7IddY2rJCkLYMjaqQ==",
"requires": {
"@aws-sdk/util-buffer-from": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-body-length-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-body-length-browser/-/util-body-length-browser-3.6.1.tgz",
"integrity": "sha512-IdWwE3rm/CFDk2F+IwTZOFTnnNW5SB8y1lWiQ54cfc7y03hO6jmXNnpZGZ5goHhT+vf1oheNQt1J47m0pM/Irw==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-body-length-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-body-length-node/-/util-body-length-node-3.6.1.tgz",
"integrity": "sha512-CUG3gc18bSOsqViQhB3M4AlLpAWV47RE6yWJ6rLD0J6/rSuzbwbjzxM39q0YTAVuSo/ivdbij+G9c3QCirC+QQ==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-buffer-from": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-buffer-from/-/util-buffer-from-3.6.1.tgz",
"integrity": "sha512-OGUh2B5NY4h7iRabqeZ+EgsrzE1LUmNFzMyhoZv0tO4NExyfQjxIYXLQQvydeOq9DJUbCw+yrRZrj8vXNDQG+g==",
"requires": {
"@aws-sdk/is-array-buffer": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-hex-encoding": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.6.1.tgz",
"integrity": "sha512-pzsGOHtU2eGca4NJgFg94lLaeXDOg8pcS9sVt4f9LmtUGbrqRveeyBv0XlkHeZW2n0IZBssPHipVYQFlk7iaRA==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-locate-window": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.6.1.tgz",
"integrity": "sha512-xXJmtCNa1Sku2JkCx0RHRyXmTMBAraup6L14a5vgLrV2TNL89HRy2iybbe/6LqG8hg9QC3HFtr3QsXQXrsBI8Q==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-uri-escape": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-uri-escape/-/util-uri-escape-3.6.1.tgz",
"integrity": "sha512-tgABiT71r0ScRJZ1pMX0xO0QPMMiISCtumph50IU5VDyZWYgeIxqkMhIcrL1lX0QbNCMgX0n6rZxGrrbjDNavA==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-user-agent-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.6.1.tgz",
"integrity": "sha512-KhJ4VED4QpuBVPXoTjb5LqspX1xHWJTuL8hbPrKfxj+cAaRRW2CNEe7PPy2CfuHtPzP3dU3urtGTachbwNb0jg==",
"requires": {
"@aws-sdk/types": "3.6.1",
"bowser": "^2.11.0",
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-user-agent-node": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.8.0.tgz",
"integrity": "sha512-TjIjxmGrO3HuWcycD5IDQzD5HUXhCIANQwpdBfTS0TOI/5kxmLWz48mU4tN5+l0ix0OhN3JutQV/zWoguNsebQ==",
"requires": {
"@aws-sdk/node-config-provider": "3.8.0",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-utf8-browser": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.6.1.tgz",
"integrity": "sha512-gZPySY6JU5gswnw3nGOEHl3tYE7vPKvtXGYoS2NRabfDKRejFvu+4/nNW6SSpoOxk6LSXsrWB39NO51k+G4PVA==",
"requires": {
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-utf8-node": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-node/-/util-utf8-node-3.6.1.tgz",
"integrity": "sha512-4s0vYfMUn74XLn13rUUhNsmuPMh0j1d4rF58wXtjlVUU78THxonnN8mbCLC48fI3fKDHTmDDkeEqy7+IWP9VyA==",
"requires": {
"@aws-sdk/util-buffer-from": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/util-waiter": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/util-waiter/-/util-waiter-3.6.1.tgz",
"integrity": "sha512-CQMRteoxW1XZSzPBVrTsOTnfzsEGs8N/xZ8BuBnXLBjoIQmRKVxIH9lgphm1ohCtVHoSWf28XH/KoOPFULQ4Tg==",
"requires": {
"@aws-sdk/abort-controller": "3.6.1",
"@aws-sdk/types": "3.6.1",
"tslib": "^1.8.0"
}
},
"@aws-sdk/xml-builder": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.6.1.tgz",
"integrity": "sha512-+HOCH4a0XO+I09okd0xdVP5Q5c9ZsEsDvnogiOcBQxoMivWhPUCo9pjXP3buCvVKP2oDHXQplBKSjGHvGaKFdg==",
"requires": {
"tslib": "^1.8.0"
}
},
"@babel/code-frame": {
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
@ -4057,6 +4840,11 @@
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",
"dev": true
},
"bowser": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz",
"integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA=="
},
"boxen": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",
@ -7279,6 +8067,11 @@
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
"dev": true
},
"fast-base64-decode": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz",
"integrity": "sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@ -7333,6 +8126,11 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
"fast-xml-parser": {
"version": "3.17.4",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.17.4.tgz",
"integrity": "sha512-qudnQuyYBgnvzf5Lj/yxMcf4L9NcVWihXJg7CiU1L+oUCq8MUnFEfH2/nXR/W5uq+yvUN1h7z6s7vs2v1WkL1A=="
},
"fastest-levenshtein": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz",
@ -12872,8 +13670,7 @@
"querystring": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
"integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
"dev": true
"integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
},
"querystring-es3": {
"version": "0.2.1",
@ -12947,6 +13744,14 @@
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
"dev": true
},
"react-native-get-random-values": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/react-native-get-random-values/-/react-native-get-random-values-1.6.0.tgz",
"integrity": "sha512-sPTRTJk4bpuZeTBf6d7DldQGAOCi0GZh5NxzNI3eHXzxwHbNkV13Q22TehiSb3bsaVqwLC4UAa6QvYIucyyc+A==",
"requires": {
"fast-base64-decode": "^1.0.0"
}
},
"read-pkg": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
@ -16530,7 +17335,6 @@
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",
"integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",
"dev": true,
"requires": {
"punycode": "1.3.2",
"querystring": "0.2.0"
@ -16539,8 +17343,7 @@
"punycode": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",
"dev": true
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
}
}
},
@ -16650,8 +17453,7 @@
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"dev": true
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
},
"v8-compile-cache": {
"version": "2.1.1",

View File

@ -10,6 +10,7 @@
"dev": "vue-cli-service build --mode development"
},
"dependencies": {
"@aws-sdk/client-s3": "3.8.1",
"apollo-cache-inmemory": "1.6.6",
"apollo-client": "2.6.10",
"apollo-link": "1.2.14",

View File

@ -95,6 +95,7 @@ export default class BucketsView extends Vue {
const gatewayURL = 'https://auth.tardigradeshare.io';
const gatewayCredentials: GatewayCredentials = await this.$store.dispatch(ACCESS_GRANTS_ACTIONS.GET_GATEWAY_CREDENTIALS, {accessGrant: this.accessGrant, optionalURL: gatewayURL});
await this.$store.dispatch(OBJECTS_ACTIONS.SET_GATEWAY_CREDENTIALS, gatewayCredentials);
await this.$store.dispatch(OBJECTS_ACTIONS.SET_S3_CLIENT);
}, 1000);
}, 1000);
} catch (error) {

View File

@ -3,28 +3,33 @@
import { StoreModule } from '@/store';
import { GatewayCredentials } from '@/types/accessGrants';
import * as AWS from '@aws-sdk/client-s3';
export const OBJECTS_ACTIONS = {
CLEAR: 'clearObjects',
SET_GATEWAY_CREDENTIALS: 'setGatewayCredentials',
SET_ACCESS_GRANT: 'setAccessGrant',
SET_S3_CLIENT: 'setS3Client',
};
export const OBJECTS_MUTATIONS = {
SET_GATEWAY_CREDENTIALS: 'setGatewayCredentials',
SET_ACCESS_GRANT: 'setAccessGrant',
CLEAR: 'clearObjects',
SET_S3_CLIENT: 'setS3Client',
};
const {
CLEAR,
SET_ACCESS_GRANT,
SET_GATEWAY_CREDENTIALS,
SET_S3_CLIENT,
} = OBJECTS_MUTATIONS;
export class ObjectsState {
public accessGrant: string = '';
public gatewayCredentials: GatewayCredentials = new GatewayCredentials();
public s3Client: AWS.S3 = new AWS.S3({});
}
/**
@ -40,6 +45,17 @@ export function makeObjectsModule(): StoreModule<ObjectsState> {
[SET_GATEWAY_CREDENTIALS](state: ObjectsState, credentials: GatewayCredentials) {
state.gatewayCredentials = credentials;
},
[SET_S3_CLIENT](state: ObjectsState) {
const s3Config = {
accessKeyId: state.gatewayCredentials.accessKeyId,
secretAccessKey: state.gatewayCredentials.secretKey,
endpoint: state.gatewayCredentials.endpoint,
s3ForcePathStyle: true,
signatureVersion: 'v4',
};
state.s3Client = new AWS.S3(s3Config);
},
[CLEAR](state: ObjectsState) {
state.accessGrant = '';
state.gatewayCredentials = new GatewayCredentials();
@ -52,6 +68,9 @@ export function makeObjectsModule(): StoreModule<ObjectsState> {
setGatewayCredentials: function({commit}: any, credentials: GatewayCredentials): void {
commit(SET_GATEWAY_CREDENTIALS, credentials);
},
setS3Client: function({commit}: any): void {
commit(SET_S3_CLIENT);
},
clearObjects: function ({commit}: any): void {
commit(CLEAR);
},