From a69d6fc7be6acff4ed5d88edd4f810a5a7ed93bb Mon Sep 17 00:00:00 2001 From: Paulo Margarido <64600052+paulomarg@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:11:45 -0400 Subject: [PATCH] Updating @shopify/shopify-api to v8.0.1 --- .changeset/olive-mayflies-act.md | 17 +++++++++++++++++ packages/shopify-app-express/package.json | 2 +- packages/shopify-app-remix/package.json | 2 +- .../src/server/__tests__/shopify-app.test.ts | 5 ++++- .../package.json | 4 ++-- .../shopify-app-session-storage-kv/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 4 ++-- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../shopify-app-session-storage/package.json | 2 +- yarn.lock | 8 ++++---- 16 files changed, 40 insertions(+), 20 deletions(-) create mode 100644 .changeset/olive-mayflies-act.md diff --git a/.changeset/olive-mayflies-act.md b/.changeset/olive-mayflies-act.md new file mode 100644 index 0000000000..60b1f6e051 --- /dev/null +++ b/.changeset/olive-mayflies-act.md @@ -0,0 +1,17 @@ +--- +'@shopify/shopify-app-session-storage-postgresql': patch +'@shopify/shopify-app-session-storage-test-utils': patch +'@shopify/shopify-app-session-storage-dynamodb': patch +'@shopify/shopify-app-session-storage-mongodb': patch +'@shopify/shopify-app-session-storage-memory': patch +'@shopify/shopify-app-session-storage-prisma': patch +'@shopify/shopify-app-session-storage-sqlite': patch +'@shopify/shopify-app-session-storage-mysql': patch +'@shopify/shopify-app-session-storage-redis': patch +'@shopify/shopify-app-session-storage-kv': patch +'@shopify/shopify-app-session-storage': patch +'@shopify/shopify-app-express': patch +'@shopify/shopify-app-remix': patch +--- + +Updating dependency on @shopify/shopify-api to v.8.0.1 diff --git a/packages/shopify-app-express/package.json b/packages/shopify-app-express/package.json index 567968a72e..4a9828ca18 100644 --- a/packages/shopify-app-express/package.json +++ b/packages/shopify-app-express/package.json @@ -30,7 +30,7 @@ "Storefront API" ], "dependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10", "@shopify/shopify-app-session-storage-memory": "^1.0.13", "cookie-parser": "^1.4.6", diff --git a/packages/shopify-app-remix/package.json b/packages/shopify-app-remix/package.json index f4282f1050..634e638784 100644 --- a/packages/shopify-app-remix/package.json +++ b/packages/shopify-app-remix/package.json @@ -68,7 +68,7 @@ }, "dependencies": { "@remix-run/server-runtime": "^2.0.0", - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10", "isbot": "^3.6.5", "semver": "^7.5.0", diff --git a/packages/shopify-app-remix/src/server/__tests__/shopify-app.test.ts b/packages/shopify-app-remix/src/server/__tests__/shopify-app.test.ts index 94e3f2f0d6..62831314fa 100644 --- a/packages/shopify-app-remix/src/server/__tests__/shopify-app.test.ts +++ b/packages/shopify-app-remix/src/server/__tests__/shopify-app.test.ts @@ -46,7 +46,10 @@ describe('shopifyApp', () => { it('does not have login function when distribution is ShopifyAdmin', () => { // GIVEN const shopify = shopifyApp( - testConfig({distribution: AppDistribution.ShopifyAdmin}), + testConfig({ + distribution: AppDistribution.ShopifyAdmin, + adminApiAccessToken: 'dummy_token', + }), ); // THEN diff --git a/packages/shopify-app-session-storage-dynamodb/package.json b/packages/shopify-app-session-storage-dynamodb/package.json index 2bbdcbb6e1..ff97548f02 100644 --- a/packages/shopify-app-session-storage-dynamodb/package.json +++ b/packages/shopify-app-session-storage-dynamodb/package.json @@ -37,13 +37,13 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { "@shopify/eslint-plugin": "^42.1.0", "@shopify/prettier-config": "^1.1.2", - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10", "@shopify/shopify-app-session-storage-test-utils": "^0.1.10", "eslint": "^8.40.0", diff --git a/packages/shopify-app-session-storage-kv/package.json b/packages/shopify-app-session-storage-kv/package.json index d5dc7d6bcc..41852f267d 100644 --- a/packages/shopify-app-session-storage-kv/package.json +++ b/packages/shopify-app-session-storage-kv/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-memory/package.json b/packages/shopify-app-session-storage-memory/package.json index e5c300cd94..44d1501c29 100644 --- a/packages/shopify-app-session-storage-memory/package.json +++ b/packages/shopify-app-session-storage-memory/package.json @@ -33,7 +33,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-mongodb/package.json b/packages/shopify-app-session-storage-mongodb/package.json index 5bb3dbdf9d..97e0edf887 100644 --- a/packages/shopify-app-session-storage-mongodb/package.json +++ b/packages/shopify-app-session-storage-mongodb/package.json @@ -35,7 +35,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-mysql/package.json b/packages/shopify-app-session-storage-mysql/package.json index 9c5d632586..5c41439c47 100644 --- a/packages/shopify-app-session-storage-mysql/package.json +++ b/packages/shopify-app-session-storage-mysql/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-postgresql/package.json b/packages/shopify-app-session-storage-postgresql/package.json index 7ae2d4a0d2..27ccce8de5 100644 --- a/packages/shopify-app-session-storage-postgresql/package.json +++ b/packages/shopify-app-session-storage-postgresql/package.json @@ -37,7 +37,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-prisma/package.json b/packages/shopify-app-session-storage-prisma/package.json index d4ff22e147..97861ea590 100644 --- a/packages/shopify-app-session-storage-prisma/package.json +++ b/packages/shopify-app-session-storage-prisma/package.json @@ -35,13 +35,13 @@ }, "peerDependencies": { "@prisma/client": "^4.13.0", - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10", "prisma": "^4.13.0" }, "devDependencies": { "@prisma/client": "^4.13.0", - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10", "prisma": "^4.13.0", "@shopify/eslint-plugin": "^42.1.0", diff --git a/packages/shopify-app-session-storage-redis/package.json b/packages/shopify-app-session-storage-redis/package.json index 36e6d48a85..8dc0398454 100644 --- a/packages/shopify-app-session-storage-redis/package.json +++ b/packages/shopify-app-session-storage-redis/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-sqlite/package.json b/packages/shopify-app-session-storage-sqlite/package.json index 55a3b0f1b5..991c6aab88 100644 --- a/packages/shopify-app-session-storage-sqlite/package.json +++ b/packages/shopify-app-session-storage-sqlite/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage-test-utils/package.json b/packages/shopify-app-session-storage-test-utils/package.json index e92a5ef13e..6a1f6d71f5 100644 --- a/packages/shopify-app-session-storage-test-utils/package.json +++ b/packages/shopify-app-session-storage-test-utils/package.json @@ -38,7 +38,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0", + "@shopify/shopify-api": "^8.0.1", "@shopify/shopify-app-session-storage": "^1.1.10" }, "devDependencies": { diff --git a/packages/shopify-app-session-storage/package.json b/packages/shopify-app-session-storage/package.json index 358cc808eb..6e27af8836 100644 --- a/packages/shopify-app-session-storage/package.json +++ b/packages/shopify-app-session-storage/package.json @@ -34,7 +34,7 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@shopify/shopify-api": "^7.7.0" + "@shopify/shopify-api": "^8.0.1" }, "devDependencies": { "@shopify/eslint-plugin": "^42.1.0", diff --git a/yarn.lock b/yarn.lock index baaba8390f..eef102adef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3143,10 +3143,10 @@ jest-matcher-utils "^26.6.2" react-reconciler "^0.28.0" -"@shopify/shopify-api@^7.7.0": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@shopify/shopify-api/-/shopify-api-7.7.0.tgz#0344b5ba90b4ac913c26193ffd6eaedc91d24889" - integrity sha512-VrOty3470GpGcf2nZDCUQGCHU5lz9X91RwAoHqlutKueBsS5d8d7P6wv667zCxh+DHoV+8BBcNwQr/esW5TsAg== +"@shopify/shopify-api@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@shopify/shopify-api/-/shopify-api-8.0.1.tgz#c04aa45f493b0256b46ef6088227fbe0e7bd3f93" + integrity sha512-Bqt6eX2IMcZLtKcefaajb9h9sqBtCMG+EH0l6v0xalckqPElQXAjg3fdSyeAZihWvqKUSVDGDDyf5gwYzfEsHQ== dependencies: "@shopify/network" "^3.2.1" compare-versions "^5.0.3"