feed-common 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.3.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.3.0...v1.3.1) (2024-04-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change ShopifySubscriptionInfo structure ([ea78212](https://github.com/advertikon/package-maxify-feed-common/commit/ea78212ab2fdcc9d6d4df65256c1d3dcd1d1f808))
7
+
1
8
  # [1.3.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.2.0...v1.3.0) (2024-04-14)
2
9
 
3
10
 
@@ -11,7 +11,7 @@ export type ServerSideProgressEvent = ServerSideEvent & {
11
11
  totalCount: number;
12
12
  };
13
13
  export type ServerSideScheduleEvent = ServerSideEvent;
14
- export type ShopifySubscriptionInfo = Pick<ShopifyRecurringCharge, "id" | "name" | "price" | "status" | "crated_at" | "updated_at" | "activated_on" | "trial_days" | "trial_ends_on" | "test">;
14
+ export type ShopifySubscriptionInfo = Omit<ShopifyRecurringCharge, "return_url" | "decorated_return_url" | "confirmation_url">;
15
15
  export type CompanyStats = {
16
16
  totalProductsCount: number;
17
17
  syncedProductsCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"company.types.d.ts","sourceRoot":"","sources":["../../src/types/company.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MA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C;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,sBAAsB,EACtB,YAAY,GAAG,sBAAsB,GAAG,kBAAkB,CAC3D,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;IACJ,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -16,18 +16,9 @@ export type ServerSideProgressEvent = ServerSideEvent & {
16
16
 
17
17
  export type ServerSideScheduleEvent = ServerSideEvent;
18
18
 
19
- export type ShopifySubscriptionInfo = Pick<
19
+ export type ShopifySubscriptionInfo = Omit<
20
20
  ShopifyRecurringCharge,
21
- | "id"
22
- | "name"
23
- | "price"
24
- | "status"
25
- | "crated_at"
26
- | "updated_at"
27
- | "activated_on"
28
- | "trial_days"
29
- | "trial_ends_on"
30
- | "test"
21
+ "return_url" | "decorated_return_url" | "confirmation_url"
31
22
  >;
32
23
 
33
24
  export type CompanyStats = {