@compassdigital/sdk.typescript 4.759.0 → 4.760.0

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.
@@ -8,7 +8,7 @@ export interface FrictionlessOrderFailureEvent {
8
8
  };
9
9
  payload: {
10
10
  checkinID: string;
11
- shoppingCartID: string;
11
+ shoppingCartID?: string;
12
12
  userID: string;
13
13
  userEmail: string;
14
14
  paymentType?: 'MEALPLAN' | 'CREDITCARD';
@@ -1 +1 @@
1
- {"version":3,"file":"FrictionlessOrderFailureEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/FrictionlessOrderFailureEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+B,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QAEb,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,OAAO,EAAE;QAER,SAAS,EAAE,MAAM,CAAC;QAElB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,MAAM,CAAC;QAEf,SAAS,EAAE,MAAM,CAAC;QAElB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;QAExC,gBAAgB,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,WAAW,CAAC;QAE3E,MAAM,EAAE,MAAM,CAAC;QAEf,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,YAAY,EAAE,MAAM,CAAC;QAErB,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"FrictionlessOrderFailureEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/FrictionlessOrderFailureEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+B,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QAEb,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,OAAO,EAAE;QAER,SAAS,EAAE,MAAM,CAAC;QAElB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB,MAAM,EAAE,MAAM,CAAC;QAEf,SAAS,EAAE,MAAM,CAAC;QAElB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;QAExC,gBAAgB,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,WAAW,CAAC;QAE3E,MAAM,EAAE,MAAM,CAAC;QAEf,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,YAAY,EAAE,MAAM,CAAC;QAErB,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.759.0",
3
+ "version": "4.760.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -12,8 +12,8 @@ export interface FrictionlessOrderFailureEvent {
12
12
  payload: {
13
13
  // The frictionless checkin identifier
14
14
  checkinID: string;
15
- // Shopping cart ID of the failed transaction
16
- shoppingCartID: string;
15
+ // Shopping cart ID of the failed transaction. Absent when the checkin failed before a cart was created
16
+ shoppingCartID?: string;
17
17
  // User ID of the failed transaction
18
18
  userID: string;
19
19
  // User email