@keystrokehq/shopify 0.0.5 → 0.0.6-rename-t1.1

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
 
@@ -14,19 +14,19 @@ declare const shopifyAppCredentialSet: CredentialSet<"keystroke:shopify-app", z.
14
14
  clientSecret: z.ZodString;
15
15
  webhookSecret: z.ZodString;
16
16
  }, z.core.$strip>>[] | undefined>;
17
- declare const shopifyPlatformProviderSeed: {
17
+ declare const shopifyOfficialProviderSeed: {
18
18
  readonly provider: "shopify";
19
19
  readonly appRef: "shopify-platform";
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;
@@ -35,4 +35,4 @@ declare const shopifyPlatformProviderSeed: {
35
35
  };
36
36
  type ShopifyAppCredentials = InferCredentialSetAuth<typeof shopifyAppCredentialSet>;
37
37
  //#endregion
38
- export { type ShopifyAppCredentials, type ShopifyCredentials, shopify, shopifyAppCredentialSet, shopifyBundle, shopifyOfficialIntegration, shopifyPlatformProviderSeed };
38
+ export { type ShopifyAppCredentials, type ShopifyCredentials, shopify, shopifyAppCredentialSet, shopifyBundle, shopifyOfficialIntegration, shopifyOfficialProviderSeed };
@@ -1,3 +1,3 @@
1
- import { a as shopifyAppCredentialSet, n as shopifyBundle, o as shopifyPlatformProviderSeed, r as shopifyOfficialIntegration, t as shopify } from "../integration-Bo2QSs3C.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
- export { shopify, shopifyAppCredentialSet, shopifyBundle, shopifyOfficialIntegration, shopifyPlatformProviderSeed };
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-DgZsA1YB.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-DgZsA1YB.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-Bo2QSs3C.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-DgZsA1YB.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-Bo2QSs3C.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-DgZsA1YB.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-Bo2QSs3C.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-DgZsA1YB.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
 
@@ -15,28 +15,28 @@ const shopifyAppCredentialSet = new CredentialSet({
15
15
  webhookSecret: z.string()
16
16
  })
17
17
  });
18
- const shopifyPlatformProviderSeed = {
18
+ const shopifyOfficialProviderSeed = {
19
19
  provider: "shopify",
20
20
  appRef: "shopify-platform",
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
 
@@ -201,4 +201,4 @@ const shopifyBundle = defineOfficialIntegration({
201
201
  const shopify = shopifyBundle.credentialSet;
202
202
 
203
203
  //#endregion
204
- export { shopifyAppCredentialSet as a, shopifyStoreDomainSchema as i, shopifyBundle as n, shopifyPlatformProviderSeed as o, shopifyOfficialIntegration as r, shopify as t };
204
+ export { shopifyAppCredentialSet as a, shopifyStoreDomainSchema as i, shopifyBundle as n, shopifyOfficialProviderSeed as o, shopifyOfficialIntegration as r, shopify as t };
@@ -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-DgZsA1YB.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-DgZsA1YB.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-DgZsA1YB.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-DgZsA1YB.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-Bo2QSs3C.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-DgZsA1YB.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.5",
3
+ "version": "0.0.6-rename-t1.1",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -84,8 +84,8 @@
84
84
  "LICENSE"
85
85
  ],
86
86
  "dependencies": {
87
- "@keystrokehq/credential-connection": "^0.0.4",
88
- "@keystrokehq/integration-authoring": "^0.0.5",
87
+ "@keystrokehq/credential-connection": "^0.0.5-rename-t1.0",
88
+ "@keystrokehq/integration-authoring": "^0.0.6-rename-t1.0",
89
89
  "@shopify/admin-api-client": "^1.1.2",
90
90
  "zod": "^4.3.6"
91
91
  },