@keystrokehq/shopify 0.0.6-rename-t1.0 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -155,10 +155,10 @@ Set up `.env.test` with at least:
155
155
  - `SHOPIFY_LIVE_ACCESS_TOKEN`
156
156
  - `SHOPIFY_LIVE_REFRESH_TOKEN` for control-plane refresh coverage
157
157
  - `PUBLIC_SERVER_URL` for webhook subscription coverage
158
- - `KEYSTROKE_PLATFORM_SHOPIFY_APP_ID`
159
- - `KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID`
160
- - `KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET`
161
- - `KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET`
158
+ - `KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID`
159
+ - `KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID`
160
+ - `KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET`
161
+ - `KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET`
162
162
 
163
163
  Recommended execution flow:
164
164
 
@@ -20,13 +20,13 @@ declare const shopifyOfficialProviderSeed: {
20
20
  readonly displayName: "Shopify Platform";
21
21
  readonly credentialSetName: "Keystroke Shopify Platform App";
22
22
  readonly envShape: {
23
- readonly KEYSTROKE_PLATFORM_SHOPIFY_APP_ID: z.ZodOptional<z.ZodString>;
24
- readonly KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID: z.ZodOptional<z.ZodString>;
25
- readonly KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
26
- readonly KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET: z.ZodOptional<z.ZodString>;
23
+ readonly KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID: z.ZodOptional<z.ZodString>;
24
+ readonly KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID: z.ZodOptional<z.ZodString>;
25
+ readonly KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
26
+ readonly KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET: z.ZodOptional<z.ZodString>;
27
27
  };
28
- readonly requiredEnvKeys: readonly ["KEYSTROKE_PLATFORM_SHOPIFY_APP_ID", "KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID", "KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET", "KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET"];
29
- readonly externalAppIdEnvKey: "KEYSTROKE_PLATFORM_SHOPIFY_APP_ID";
28
+ readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID", "KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID", "KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET", "KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET"];
29
+ readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID";
30
30
  readonly buildCredentials: (env: Record<string, string | undefined>) => {
31
31
  clientId: string | undefined;
32
32
  clientSecret: string | undefined;
@@ -1,3 +1,3 @@
1
- import { a as shopifyAppCredentialSet, n as shopifyBundle, o as shopifyOfficialProviderSeed, r as shopifyOfficialIntegration, t as shopify } from "../integration-IQgjS1ON.mjs";
1
+ import { a as shopifyAppCredentialSet, n as shopifyBundle, o as shopifyOfficialProviderSeed, r as shopifyOfficialIntegration, t as shopify } from "../integration-CTvqYMCL.mjs";
2
2
 
3
3
  export { shopify, shopifyAppCredentialSet, shopifyBundle, shopifyOfficialIntegration, shopifyOfficialProviderSeed };
package/dist/articles.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { shopifyArticleSchema, shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
package/dist/blogs.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { shopifyBlogSchema, shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as shopify } from "./integration-IQgjS1ON.mjs";
1
+ import { t as shopify } from "./integration-CTvqYMCL.mjs";
2
2
  import { shopifyGraphqlErrorSchema } from "./schemas.mjs";
3
3
  import { CredentialRevokedError } from "@keystrokehq/core/errors";
4
4
  import { createAdminApiClient, createAdminRestApiClient } from "@shopify/admin-api-client";
@@ -1,6 +1,6 @@
1
1
  import { shopifyCollectionSchema, shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyJobSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { i as shopifyProductIdsInputSchema, n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
@@ -1,3 +1,3 @@
1
- import { t as shopify } from "./integration-IQgjS1ON.mjs";
1
+ import { t as shopify } from "./integration-CTvqYMCL.mjs";
2
2
 
3
3
  export { shopify };
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyCustomerSchema, shopifyGlobalIdSchema, shopifyOrderSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
@@ -1,4 +1,4 @@
1
- import { t as shopify } from "./integration-IQgjS1ON.mjs";
1
+ import { t as shopify } from "./integration-CTvqYMCL.mjs";
2
2
  import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
3
3
 
4
4
  //#region src/factory.ts
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyFulfillmentSchema, shopifyGlobalIdSchema, shopifyLocationSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
@@ -21,22 +21,22 @@ const shopifyOfficialProviderSeed = {
21
21
  displayName: "Shopify Platform",
22
22
  credentialSetName: "Keystroke Shopify Platform App",
23
23
  envShape: {
24
- KEYSTROKE_PLATFORM_SHOPIFY_APP_ID: z.string().optional(),
25
- KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID: z.string().optional(),
26
- KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET: z.string().optional(),
27
- KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET: z.string().optional()
24
+ KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID: z.string().optional(),
25
+ KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID: z.string().optional(),
26
+ KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET: z.string().optional(),
27
+ KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET: z.string().optional()
28
28
  },
29
29
  requiredEnvKeys: [
30
- "KEYSTROKE_PLATFORM_SHOPIFY_APP_ID",
31
- "KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID",
32
- "KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET",
33
- "KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET"
30
+ "KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID",
31
+ "KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID",
32
+ "KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET",
33
+ "KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET"
34
34
  ],
35
- externalAppIdEnvKey: "KEYSTROKE_PLATFORM_SHOPIFY_APP_ID",
35
+ externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SHOPIFY_APP_ID",
36
36
  buildCredentials: (env) => ({
37
- clientId: env.KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_ID,
38
- clientSecret: env.KEYSTROKE_PLATFORM_SHOPIFY_CLIENT_SECRET,
39
- webhookSecret: env.KEYSTROKE_PLATFORM_SHOPIFY_WEBHOOK_SECRET
37
+ clientId: env.KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_ID,
38
+ clientSecret: env.KEYSTROKE_OFFICIAL_SHOPIFY_CLIENT_SECRET,
39
+ webhookSecret: env.KEYSTROKE_OFFICIAL_SHOPIFY_WEBHOOK_SECRET
40
40
  })
41
41
  };
42
42
 
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyInventoryItemSchema, shopifyInventoryLevelSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyLocationSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { r as shopifyPageInputSchema } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
package/dist/orders.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyJobSchema, shopifyOrderSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
package/dist/products.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { shopifyConnectionNodesSchema, shopifyGlobalIdSchema, shopifyProductSchema, shopifyUserErrorSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { n as omitUndefined, r as shopifyPageInputSchema, t as assertNoUserErrors } from "./operation-helpers-CKEDIx0o.mjs";
5
5
  import { z } from "zod";
6
6
 
package/dist/schemas.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as shopifyStoreDomainSchema } from "./integration-IQgjS1ON.mjs";
1
+ import { i as shopifyStoreDomainSchema } from "./integration-CTvqYMCL.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas.ts
package/dist/shop.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { shopifyShopSchema } from "./schemas.mjs";
2
2
  import { createShopifyClient } from "./client.mjs";
3
- import { t as shopifyOperation } from "./factory-BB9dFGJV.mjs";
3
+ import { t as shopifyOperation } from "./factory-BQsdrC0B.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/shop.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shopify",
3
- "version": "0.0.6-rename-t1.0",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -84,20 +84,20 @@
84
84
  "LICENSE"
85
85
  ],
86
86
  "dependencies": {
87
- "@keystrokehq/credential-connection": "^0.0.5-rename-t1.0",
88
- "@keystrokehq/integration-authoring": "^0.0.6-rename-t1.0",
87
+ "@keystrokehq/credential-connection": "^0.0.6",
88
+ "@keystrokehq/integration-authoring": "^0.0.7",
89
89
  "@shopify/admin-api-client": "^1.1.2",
90
90
  "zod": "^4.3.6"
91
91
  },
92
92
  "peerDependencies": {
93
- "@keystrokehq/core": ">=0.0.7 <0.1.0"
93
+ "@keystrokehq/core": ">=0.0.8 <0.1.0"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@types/node": "^22.19.11",
97
97
  "tsdown": "^0.20.3",
98
98
  "typescript": "^5.9.3",
99
99
  "vitest": "^4.0.18",
100
- "@keystrokehq/core": "^0.0.7",
100
+ "@keystrokehq/core": "^0.0.8",
101
101
  "@keystrokehq/test-utils": "0.0.0",
102
102
  "@keystrokehq/typescript-config": "0.0.0"
103
103
  },