From 123e3ce66996e4ac81d5586b91f1e8e6a4c5bc80 Mon Sep 17 00:00:00 2001 From: Chris Price Date: Tue, 16 Jan 2024 15:45:35 -0800 Subject: [PATCH 1/2] chore: update examples to latest version of SDK (#1102) --- .../web-sdk/package-lock.json | 16 +++++----- .../cloudflare-workers/web-sdk/package.json | 2 +- .../nodejs/access-control/package-lock.json | 30 +++++++++---------- examples/nodejs/access-control/package.json | 2 +- examples/nodejs/aws/package-lock.json | 30 +++++++++---------- examples/nodejs/aws/package.json | 2 +- examples/nodejs/cache/package-lock.json | 30 +++++++++---------- examples/nodejs/cache/package.json | 2 +- .../docker/ecs-code/package-lock.json | 30 +++++++++---------- .../docker/ecs-code/package.json | 2 +- .../lambda/package-lock.json | 30 +++++++++---------- .../cloudwatch-metrics/lambda/package.json | 2 +- .../lambda/simple-get/package-lock.json | 30 +++++++++---------- .../simple-get/lambda/simple-get/package.json | 2 +- .../topics-microservice/package-lock.json | 30 +++++++++---------- .../topics-microservice/package.json | 2 +- examples/nodejs/load-gen/package-lock.json | 30 +++++++++---------- examples/nodejs/load-gen/package.json | 2 +- .../simple-read-aside/package-lock.json | 30 +++++++++---------- .../simple-read-aside/package.json | 2 +- .../nodejs/observability/package-lock.json | 30 +++++++++---------- examples/nodejs/observability/package.json | 2 +- .../nodejs/rate-limiter/package-lock.json | 30 +++++++++---------- examples/nodejs/rate-limiter/package.json | 2 +- .../lambda/authorizer/package-lock.json | 16 +++++----- .../lambda/authorizer/package.json | 2 +- .../token-vending-machine/package-lock.json | 16 +++++----- .../lambda/token-vending-machine/package.json | 2 +- examples/nodejs/topics/package-lock.json | 30 +++++++++---------- examples/nodejs/topics/package.json | 2 +- .../nodejs/vector-index/package-lock.json | 30 +++++++++---------- examples/nodejs/vector-index/package.json | 2 +- examples/web/cache/package-lock.json | 30 +++++++++---------- examples/web/cache/package.json | 2 +- examples/web/nextjs-chat/package-lock.json | 26 ++++++++-------- examples/web/nextjs-chat/package.json | 4 +-- examples/web/vector-index/package-lock.json | 30 +++++++++---------- examples/web/vector-index/package.json | 2 +- examples/web/vite-chat-app/package-lock.json | 16 +++++----- examples/web/vite-chat-app/package.json | 2 +- 40 files changed, 291 insertions(+), 291 deletions(-) diff --git a/examples/cloudflare-workers/web-sdk/package-lock.json b/examples/cloudflare-workers/web-sdk/package-lock.json index a98b1eb9d..c51270bd4 100644 --- a/examples/cloudflare-workers/web-sdk/package-lock.json +++ b/examples/cloudflare-workers/web-sdk/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "dependencies": { "@gomomento/sdk-core": "^1.40.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "xhr4sw": "^0.0.5" }, "devDependencies": { @@ -518,9 +518,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -553,12 +553,12 @@ } }, "node_modules/@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "dependencies": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", diff --git a/examples/cloudflare-workers/web-sdk/package.json b/examples/cloudflare-workers/web-sdk/package.json index 58c46950e..7359a169f 100644 --- a/examples/cloudflare-workers/web-sdk/package.json +++ b/examples/cloudflare-workers/web-sdk/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@gomomento/sdk-core": "^1.40.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "xhr4sw": "^0.0.5" } } diff --git a/examples/nodejs/access-control/package-lock.json b/examples/nodejs/access-control/package-lock.json index 2e551fc30..97849795b 100644 --- a/examples/nodejs/access-control/package-lock.json +++ b/examples/nodejs/access-control/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "devDependencies": { "@types/node": "^16.11.4", @@ -66,12 +66,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -82,9 +82,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3252,12 +3252,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3265,9 +3265,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/access-control/package.json b/examples/nodejs/access-control/package.json index 937b1ce11..062453707 100644 --- a/examples/nodejs/access-control/package.json +++ b/examples/nodejs/access-control/package.json @@ -26,6 +26,6 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" } } diff --git a/examples/nodejs/aws/package-lock.json b/examples/nodejs/aws/package-lock.json index 05895706c..76d76dbb7 100644 --- a/examples/nodejs/aws/package-lock.json +++ b/examples/nodejs/aws/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "^3.370.0", - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "devDependencies": { "@types/node": "^16.11.4", @@ -643,12 +643,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -659,9 +659,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -4963,12 +4963,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -4976,9 +4976,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/aws/package.json b/examples/nodejs/aws/package.json index 7825bc3e4..48bc896fc 100644 --- a/examples/nodejs/aws/package.json +++ b/examples/nodejs/aws/package.json @@ -27,6 +27,6 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "^3.370.0", - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" } } diff --git a/examples/nodejs/cache/package-lock.json b/examples/nodejs/cache/package-lock.json index aa3358a42..5756356a9 100644 --- a/examples/nodejs/cache/package-lock.json +++ b/examples/nodejs/cache/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "devDependencies": { "@types/node": "^16.11.4", @@ -71,12 +71,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -87,9 +87,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3618,12 +3618,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3631,9 +3631,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/cache/package.json b/examples/nodejs/cache/package.json index a1bcbd635..543df4b8e 100644 --- a/examples/nodejs/cache/package.json +++ b/examples/nodejs/cache/package.json @@ -32,7 +32,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "engines": { "node": ">=10.4.0" diff --git a/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package-lock.json b/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package-lock.json index 5ce106098..77a6c6dc3 100644 --- a/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package-lock.json +++ b/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "3.470.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" }, "devDependencies": { @@ -666,12 +666,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -682,9 +682,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -5461,12 +5461,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -5474,9 +5474,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package.json b/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package.json index 1ed96d020..1360154f6 100644 --- a/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package.json +++ b/examples/nodejs/lambda-examples/cloudwatch-metrics/docker/ecs-code/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "3.470.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" } } diff --git a/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package-lock.json b/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package-lock.json index 89f7f08a6..6bef5871a 100644 --- a/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package-lock.json +++ b/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "3.468.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" }, "devDependencies": { @@ -666,12 +666,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -682,9 +682,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -5461,12 +5461,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -5474,9 +5474,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package.json b/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package.json index 3fe7364b0..2358879c5 100644 --- a/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package.json +++ b/examples/nodejs/lambda-examples/cloudwatch-metrics/lambda/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "3.468.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" } } diff --git a/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package-lock.json b/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package-lock.json index c07f68dda..fbfa3940f 100644 --- a/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package-lock.json +++ b/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "3.470.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" }, "devDependencies": { @@ -666,12 +666,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -682,9 +682,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -5461,12 +5461,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -5474,9 +5474,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package.json b/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package.json index fb6595073..2516eef6a 100644 --- a/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package.json +++ b/examples/nodejs/lambda-examples/simple-get/lambda/simple-get/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "3.470.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" } } diff --git a/examples/nodejs/lambda-examples/topics-microservice/package-lock.json b/examples/nodejs/lambda-examples/topics-microservice/package-lock.json index 77e64d4a9..ce6c8fc55 100644 --- a/examples/nodejs/lambda-examples/topics-microservice/package-lock.json +++ b/examples/nodejs/lambda-examples/topics-microservice/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@aws-sdk/client-lambda": "^3.352.0", "@aws-sdk/client-secrets-manager": "^3.352.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-cdk-lib": "^2.85.0", "aws-lambda": "^1.0.7", "constructs": "^10.0.0", @@ -668,12 +668,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -684,9 +684,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3711,12 +3711,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3724,9 +3724,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/lambda-examples/topics-microservice/package.json b/examples/nodejs/lambda-examples/topics-microservice/package.json index def4f9f04..70171b88a 100644 --- a/examples/nodejs/lambda-examples/topics-microservice/package.json +++ b/examples/nodejs/lambda-examples/topics-microservice/package.json @@ -23,7 +23,7 @@ "dependencies": { "@aws-sdk/client-lambda": "^3.352.0", "@aws-sdk/client-secrets-manager": "^3.352.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-cdk-lib": "^2.85.0", "aws-lambda": "^1.0.7", "constructs": "^10.0.0", diff --git a/examples/nodejs/load-gen/package-lock.json b/examples/nodejs/load-gen/package-lock.json index 012b3ceda..758b88f06 100644 --- a/examples/nodejs/load-gen/package-lock.json +++ b/examples/nodejs/load-gen/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "hdr-histogram-js": "3.0.0" }, "devDependencies": { @@ -65,12 +65,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -81,9 +81,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3490,12 +3490,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3503,9 +3503,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/load-gen/package.json b/examples/nodejs/load-gen/package.json index a9b01fca7..550cb79f0 100644 --- a/examples/nodejs/load-gen/package.json +++ b/examples/nodejs/load-gen/package.json @@ -27,7 +27,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "hdr-histogram-js": "3.0.0" } } diff --git a/examples/nodejs/mongodb-examples/simple-read-aside/package-lock.json b/examples/nodejs/mongodb-examples/simple-read-aside/package-lock.json index 4ea4b1b54..5adb0ae95 100644 --- a/examples/nodejs/mongodb-examples/simple-read-aside/package-lock.json +++ b/examples/nodejs/mongodb-examples/simple-read-aside/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache 2.0", "dependencies": { "@aws-sdk/client-secrets-manager": "^3.369.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "mongodb": "^5.8.0" }, "devDependencies": { @@ -1332,12 +1332,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -1348,9 +1348,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -8647,12 +8647,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -8660,9 +8660,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/mongodb-examples/simple-read-aside/package.json b/examples/nodejs/mongodb-examples/simple-read-aside/package.json index ef62e7c14..d75f719ce 100644 --- a/examples/nodejs/mongodb-examples/simple-read-aside/package.json +++ b/examples/nodejs/mongodb-examples/simple-read-aside/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "^3.369.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "mongodb": "^5.8.0" }, "devDependencies": { diff --git a/examples/nodejs/observability/package-lock.json b/examples/nodejs/observability/package-lock.json index 86187491f..4c3c7303e 100644 --- a/examples/nodejs/observability/package-lock.json +++ b/examples/nodejs/observability/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "@opentelemetry/api": "1.4.1", "@opentelemetry/exporter-prometheus": "0.39.1", "@opentelemetry/exporter-zipkin": "1.13.0", @@ -82,12 +82,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -98,9 +98,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -4118,12 +4118,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -4131,9 +4131,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/observability/package.json b/examples/nodejs/observability/package.json index 351b95c1f..0bc5bac52 100644 --- a/examples/nodejs/observability/package.json +++ b/examples/nodejs/observability/package.json @@ -29,7 +29,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "@opentelemetry/api": "1.4.1", "@opentelemetry/exporter-prometheus": "0.39.1", "@opentelemetry/exporter-zipkin": "1.13.0", diff --git a/examples/nodejs/rate-limiter/package-lock.json b/examples/nodejs/rate-limiter/package-lock.json index f0bd0b679..f39f266f5 100644 --- a/examples/nodejs/rate-limiter/package-lock.json +++ b/examples/nodejs/rate-limiter/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "devDependencies": { "@types/node": "16.18.60", @@ -204,12 +204,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -220,9 +220,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3928,12 +3928,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3941,9 +3941,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/rate-limiter/package.json b/examples/nodejs/rate-limiter/package.json index 28423afc5..78080842d 100644 --- a/examples/nodejs/rate-limiter/package.json +++ b/examples/nodejs/rate-limiter/package.json @@ -26,7 +26,7 @@ "typescript": "4.9.5" }, "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "engines": { "node": ">=10.4.0" diff --git a/examples/nodejs/token-vending-machine/lambda/authorizer/package-lock.json b/examples/nodejs/token-vending-machine/lambda/authorizer/package-lock.json index bfffc0ea9..60312ea10 100644 --- a/examples/nodejs/token-vending-machine/lambda/authorizer/package-lock.json +++ b/examples/nodejs/token-vending-machine/lambda/authorizer/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "3.485.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" }, "devDependencies": { @@ -657,12 +657,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -673,9 +673,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/token-vending-machine/lambda/authorizer/package.json b/examples/nodejs/token-vending-machine/lambda/authorizer/package.json index 11234353a..8d005d2aa 100644 --- a/examples/nodejs/token-vending-machine/lambda/authorizer/package.json +++ b/examples/nodejs/token-vending-machine/lambda/authorizer/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "3.485.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" } } diff --git a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package-lock.json b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package-lock.json index 2c4572c2f..1f5cca1ad 100644 --- a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package-lock.json +++ b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-secrets-manager": "3.485.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" }, "devDependencies": { @@ -657,12 +657,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -673,9 +673,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package.json b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package.json index 42ad9e31d..e7453dcd2 100644 --- a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package.json +++ b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "@aws-sdk/client-secrets-manager": "3.485.0", - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "aws-lambda": "1.0.7" } } diff --git a/examples/nodejs/topics/package-lock.json b/examples/nodejs/topics/package-lock.json index b8f6aa582..910f90314 100644 --- a/examples/nodejs/topics/package-lock.json +++ b/examples/nodejs/topics/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" }, "devDependencies": { "@types/node": "^16.11.4", @@ -59,12 +59,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -75,9 +75,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3461,12 +3461,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3474,9 +3474,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/topics/package.json b/examples/nodejs/topics/package.json index b12d846f1..c9f0abccf 100644 --- a/examples/nodejs/topics/package.json +++ b/examples/nodejs/topics/package.json @@ -27,6 +27,6 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0" + "@gomomento/sdk": "^1.57.0" } } diff --git a/examples/nodejs/vector-index/package-lock.json b/examples/nodejs/vector-index/package-lock.json index b9add23e4..505e08269 100644 --- a/examples/nodejs/vector-index/package-lock.json +++ b/examples/nodejs/vector-index/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "jsdom": "22.1.0" }, "devDependencies": { @@ -93,12 +93,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -109,9 +109,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -3889,12 +3889,12 @@ } }, "@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "requires": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -3902,9 +3902,9 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" diff --git a/examples/nodejs/vector-index/package.json b/examples/nodejs/vector-index/package.json index 0a4a5b0bd..cd5d3afc6 100644 --- a/examples/nodejs/vector-index/package.json +++ b/examples/nodejs/vector-index/package.json @@ -26,7 +26,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk": "^1.56.0", + "@gomomento/sdk": "^1.57.0", "jsdom": "22.1.0" } } diff --git a/examples/web/cache/package-lock.json b/examples/web/cache/package-lock.json index c47c71770..22103a3fb 100644 --- a/examples/web/cache/package-lock.json +++ b/examples/web/cache/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jsdom": "22.1.0" }, "devDependencies": { @@ -82,9 +82,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -94,12 +94,12 @@ } }, "node_modules/@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "dependencies": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", @@ -3222,21 +3222,21 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" } }, "@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "requires": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", diff --git a/examples/web/cache/package.json b/examples/web/cache/package.json index facb14cf1..08856986c 100644 --- a/examples/web/cache/package.json +++ b/examples/web/cache/package.json @@ -29,7 +29,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jsdom": "22.1.0" } } diff --git a/examples/web/nextjs-chat/package-lock.json b/examples/web/nextjs-chat/package-lock.json index df2c3aa3b..e711fe8a3 100644 --- a/examples/web/nextjs-chat/package-lock.json +++ b/examples/web/nextjs-chat/package-lock.json @@ -8,8 +8,8 @@ "name": "momento-nextjs-chat", "version": "0.1.0", "dependencies": { - "@gomomento/sdk": "^1.56.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk": "^1.57.0", + "@gomomento/sdk-web": "^1.57.0", "autoprefixer": "10.4.14", "next": "^13.5.6", "next-auth": "^4.24.5", @@ -145,12 +145,12 @@ } }, "node_modules/@gomomento/sdk": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.56.0.tgz", - "integrity": "sha512-vsoZjIXaZcHY6aJyn+fHh3vDQpTCd6AoIVGe/vAVD+9LZ2jfc9UZ+ZpFkOmTDn6NbAhayh+CjcNHckyGwL/nJQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk/-/sdk-1.57.0.tgz", + "integrity": "sha512-cgwHYzoj3sV6A0euG4enf5JZEsJWOHXOjlb0PiDQgfiO6bPdH5etYpmVUCkVNy2w7rcJeY2aK4UFrouyUj4Mkg==", "dependencies": { "@gomomento/generated-types": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@grpc/grpc-js": "1.9.0", "@types/google-protobuf": "3.15.10", "google-protobuf": "3.21.2", @@ -161,9 +161,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -173,12 +173,12 @@ } }, "node_modules/@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "dependencies": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", diff --git a/examples/web/nextjs-chat/package.json b/examples/web/nextjs-chat/package.json index 0954ff8a6..a7e048e75 100644 --- a/examples/web/nextjs-chat/package.json +++ b/examples/web/nextjs-chat/package.json @@ -9,8 +9,8 @@ "lint": "next lint" }, "dependencies": { - "@gomomento/sdk": "^1.56.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk": "^1.57.0", + "@gomomento/sdk-web": "^1.57.0", "autoprefixer": "10.4.14", "next": "^13.5.6", "next-auth": "^4.24.5", diff --git a/examples/web/vector-index/package-lock.json b/examples/web/vector-index/package-lock.json index 0acb3d078..7e0b37869 100644 --- a/examples/web/vector-index/package-lock.json +++ b/examples/web/vector-index/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jsdom": "22.1.0" }, "devDependencies": { @@ -91,9 +91,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -103,12 +103,12 @@ } }, "node_modules/@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "dependencies": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", @@ -3323,21 +3323,21 @@ } }, "@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "requires": { "buffer": "6.0.3", "jwt-decode": "3.1.2" } }, "@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "requires": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", diff --git a/examples/web/vector-index/package.json b/examples/web/vector-index/package.json index 19524bfb2..c23e61dc6 100644 --- a/examples/web/vector-index/package.json +++ b/examples/web/vector-index/package.json @@ -26,7 +26,7 @@ "typescript": "4.4.3" }, "dependencies": { - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jsdom": "22.1.0" } } diff --git a/examples/web/vite-chat-app/package-lock.json b/examples/web/vite-chat-app/package-lock.json index e3ecd8bb1..b616f5449 100644 --- a/examples/web/vite-chat-app/package-lock.json +++ b/examples/web/vite-chat-app/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "dependencies": { "@aws-sdk/client-cognito-identity-provider": "^3.378.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jwt-decode": "^3.1.2", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -1481,9 +1481,9 @@ } }, "node_modules/@gomomento/sdk-core": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.56.0.tgz", - "integrity": "sha512-tRODr5jgujre/7appSZtC+6d7ewvCS0US3H6wrJgLXeH/Oa+LiE5TOYsEZlw9ZjTHOh4pbJa5phLL1WbVt53/A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-core/-/sdk-core-1.57.0.tgz", + "integrity": "sha512-FljmtHgufKnxDtiMgoTIhZKnXM3klQbc7gtN3a9eSdULggGk0xkPFOwLnwqj1bfA0Z94qITXKkZqFaNlwOS7Qw==", "dependencies": { "buffer": "6.0.3", "jwt-decode": "3.1.2" @@ -1493,12 +1493,12 @@ } }, "node_modules/@gomomento/sdk-web": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.56.0.tgz", - "integrity": "sha512-KMp/qfTwIxzaCn9s4BgXPYM1k8jk/LXfI6PAWpapjvW/BQXEmICddAQZ2fHXhovZUC0rFLZDBrxShZXO159ZjQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@gomomento/sdk-web/-/sdk-web-1.57.0.tgz", + "integrity": "sha512-A0gAryk9H+OgMT8eWMxBgisCsWUfF7Ihq1cjb+iWdRLWQIYYVKPbqcvRpoe3lsTo8gDWR9hzD8eWX5b5wK+qRQ==", "dependencies": { "@gomomento/generated-types-webtext": "0.97.1", - "@gomomento/sdk-core": "1.56.0", + "@gomomento/sdk-core": "1.57.0", "@types/google-protobuf": "3.15.6", "google-protobuf": "3.21.2", "grpc-web": "1.4.2", diff --git a/examples/web/vite-chat-app/package.json b/examples/web/vite-chat-app/package.json index 6f1c6d0ba..6d34a440a 100644 --- a/examples/web/vite-chat-app/package.json +++ b/examples/web/vite-chat-app/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@aws-sdk/client-cognito-identity-provider": "^3.378.0", - "@gomomento/sdk-web": "^1.56.0", + "@gomomento/sdk-web": "^1.57.0", "jwt-decode": "^3.1.2", "react": "^18.2.0", "react-dom": "^18.2.0" From 8c0ce410080fcd201cfbcb5fcb645991b87642a0 Mon Sep 17 00:00:00 2001 From: Chris Price Date: Wed, 17 Jan 2024 11:14:18 -0800 Subject: [PATCH 2/2] feat: support more succinct syntax for credential providers (#1103) * feat: support more succinct syntax for credential providers --- ...client-constructor-default-configs.test.ts | 30 +++++++++++++++++++ ...client-constructor-default-configs.test.ts | 30 +++++++++++++++++++ packages/core/src/auth/credential-provider.ts | 20 ++++++++++--- 3 files changed, 76 insertions(+), 4 deletions(-) diff --git a/packages/client-sdk-nodejs/test/integration/client-constructor-default-configs.test.ts b/packages/client-sdk-nodejs/test/integration/client-constructor-default-configs.test.ts index afb1b73a9..468743e8a 100644 --- a/packages/client-sdk-nodejs/test/integration/client-constructor-default-configs.test.ts +++ b/packages/client-sdk-nodejs/test/integration/client-constructor-default-configs.test.ts @@ -3,9 +3,14 @@ import { TopicClient, PreviewVectorIndexClient, PreviewLeaderboardClient, + CredentialProvider, } from '../../src'; import {credsProvider} from './integration-setup'; +// These tokens have valid syntax, but they don't actually have valid credentials. Just used for unit testing. +const fakeTestV1ApiKey = + 'eyJhcGlfa2V5IjogImV5SjBlWEFpT2lKS1YxUWlMQ0poYkdjaU9pSklVekkxTmlKOS5leUpwYzNNaU9pSlBibXhwYm1VZ1NsZFVJRUoxYVd4a1pYSWlMQ0pwWVhRaU9qRTJOemd6TURVNE1USXNJbVY0Y0NJNk5EZzJOVFV4TlRReE1pd2lZWFZrSWpvaUlpd2ljM1ZpSWpvaWFuSnZZMnRsZEVCbGVHRnRjR3hsTG1OdmJTSjkuOEl5OHE4NExzci1EM1lDb19IUDRkLXhqSGRUOFVDSXV2QVljeGhGTXl6OCIsICJlbmRwb2ludCI6ICJ0ZXN0Lm1vbWVudG9ocS5jb20ifQo='; + describe('default configurations', () => { it('CacheClient should be able to be constructed with a default configuration', async () => { const cacheClientViaConstructor = new CacheClient({ @@ -21,6 +26,31 @@ describe('default configurations', () => { expect(cacheClientViaFactory).toBeInstanceOf(CacheClient); }); + it('CacheClient should be able to be constructed with a simple string for env var', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: + CredentialProvider.fromEnvironmentVariable('TEST_AUTH_TOKEN'), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + + it('CacheClient should be able to be constructed with a simple string for env var, using short function name', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: CredentialProvider.fromEnvVar('TEST_AUTH_TOKEN'), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + + it('CacheClient should be able to be constructed with a simple string for fromString', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: CredentialProvider.fromString(fakeTestV1ApiKey), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + it('TopicClient should be able to be constructed with a default configuration', () => { const topicClientViaConstructor = new TopicClient({ credentialProvider: credsProvider(), diff --git a/packages/client-sdk-web/test/integration/client-constructor-default-configs.test.ts b/packages/client-sdk-web/test/integration/client-constructor-default-configs.test.ts index 36fce640e..d9cfdbed6 100644 --- a/packages/client-sdk-web/test/integration/client-constructor-default-configs.test.ts +++ b/packages/client-sdk-web/test/integration/client-constructor-default-configs.test.ts @@ -3,9 +3,14 @@ import { TopicClient, PreviewVectorIndexClient, PreviewLeaderboardClient, + CredentialProvider, } from '../../src'; import {credsProvider} from './integration-setup'; +// These tokens have valid syntax, but they don't actually have valid credentials. Just used for unit testing. +const fakeTestV1ApiKey = + 'eyJhcGlfa2V5IjogImV5SjBlWEFpT2lKS1YxUWlMQ0poYkdjaU9pSklVekkxTmlKOS5leUpwYzNNaU9pSlBibXhwYm1VZ1NsZFVJRUoxYVd4a1pYSWlMQ0pwWVhRaU9qRTJOemd6TURVNE1USXNJbVY0Y0NJNk5EZzJOVFV4TlRReE1pd2lZWFZrSWpvaUlpd2ljM1ZpSWpvaWFuSnZZMnRsZEVCbGVHRnRjR3hsTG1OdmJTSjkuOEl5OHE4NExzci1EM1lDb19IUDRkLXhqSGRUOFVDSXV2QVljeGhGTXl6OCIsICJlbmRwb2ludCI6ICJ0ZXN0Lm1vbWVudG9ocS5jb20ifQo='; + describe('default configurations', () => { it('CacheClient should be able to be constructed with a default configuration', () => { const cacheClientViaConstructor = new CacheClient({ @@ -15,6 +20,31 @@ describe('default configurations', () => { expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); }); + it('CacheClient should be able to be constructed with a simple string for env var', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: + CredentialProvider.fromEnvironmentVariable('TEST_AUTH_TOKEN'), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + + it('CacheClient should be able to be constructed with a simple string for env var, using short function name', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: CredentialProvider.fromEnvVar('TEST_AUTH_TOKEN'), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + + it('CacheClient should be able to be constructed with a simple string for fromString', () => { + const cacheClientViaConstructor = new CacheClient({ + credentialProvider: CredentialProvider.fromString(fakeTestV1ApiKey), + defaultTtlSeconds: 60, + }); + expect(cacheClientViaConstructor).toBeInstanceOf(CacheClient); + }); + it('TopicClient should be able to be constructed with a default configuration', () => { const topicClientViaConstructor = new TopicClient({ credentialProvider: credsProvider(), diff --git a/packages/core/src/auth/credential-provider.ts b/packages/core/src/auth/credential-provider.ts index 75da9dbe7..6cd8b01b4 100644 --- a/packages/core/src/auth/credential-provider.ts +++ b/packages/core/src/auth/credential-provider.ts @@ -74,13 +74,19 @@ export abstract class CredentialProvider { abstract areEndpointsOverridden(): boolean; static fromEnvironmentVariable( - props: EnvMomentoTokenProviderProps + props: EnvMomentoTokenProviderProps | string + ): CredentialProvider { + return new EnvMomentoTokenProvider(props); + } + + static fromEnvVar( + props: EnvMomentoTokenProviderProps | string ): CredentialProvider { return new EnvMomentoTokenProvider(props); } static fromString( - props: StringMomentoTokenProviderProps + props: StringMomentoTokenProviderProps | string ): CredentialProvider { return new StringMomentoTokenProvider(props); } @@ -140,7 +146,10 @@ export class StringMomentoTokenProvider extends CredentialProviderBase { /** * @param {StringMomentoTokenProviderProps} props configuration options for the token provider */ - constructor(props: StringMomentoTokenProviderProps) { + constructor(props: StringMomentoTokenProviderProps | string) { + if (typeof props === 'string') { + props = {apiKey: props}; + } super(); let key: string; if ('authToken' in props) { @@ -238,7 +247,10 @@ export class EnvMomentoTokenProvider extends StringMomentoTokenProvider { /** * @param {EnvMomentoTokenProviderProps} props configuration options for the token provider */ - constructor(props: EnvMomentoTokenProviderProps) { + constructor(props: EnvMomentoTokenProviderProps | string) { + if (typeof props === 'string') { + props = {environmentVariableName: props}; + } const authToken = process.env[props.environmentVariableName]; if (!authToken) { throw new Error(