@lightspeed/online-payments-sdk 1.1.0 → 1.1.2

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.
@@ -126,6 +126,7 @@ function createAddressElementOptions(defaultValues) {
126
126
  addressOptions.defaultValues = {
127
127
  address: {
128
128
  country: defaultValues.country,
129
+ postal_code: defaultValues.postalCode,
129
130
  },
130
131
  };
131
132
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { WidgetController } from './common';
8
8
  import { PaymentWidgetConfiguration } from './widget';
9
- export type { WidgetController, SessionType } from './common';
9
+ export type { WidgetController, SessionType, DefaultValues } from './common';
10
10
  export type { Event } from './EventBroadcaster';
11
11
  export { UnsupportedLocationError, InvalidSessionPayloadError, InvalidSessionError, ProcessingError, } from './error';
12
12
  export type { PaymentWidgetConfiguration, PaymentWidgetTheme } from './widget';
@@ -115,6 +115,7 @@ export function createAddressElementOptions(defaultValues) {
115
115
  addressOptions.defaultValues = {
116
116
  address: {
117
117
  country: defaultValues.country,
118
+ postal_code: defaultValues.postalCode,
118
119
  },
119
120
  };
120
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightspeed/online-payments-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Process online-payments with Lightspeed Payments",
5
5
  "author": "Lightspeed Commerce Inc.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -30,18 +30,18 @@
30
30
  "@eslint/js": "^9.33.0",
31
31
  "@types/jest": "^30.0.0",
32
32
  "gts": "^6.0.2",
33
- "jest": "^30.0.5",
34
- "jest-environment-jsdom": "^30.0.5",
33
+ "jest": "^30.2.0",
34
+ "jest-environment-jsdom": "^30.2.0",
35
35
  "jest-junit": "^16.0.0",
36
- "rollup": "^4.46.2",
37
- "ts-jest": "^29.4.1",
36
+ "rollup": "^4.53.3",
37
+ "ts-jest": "^29.4.5",
38
38
  "tslib": "^2.8.1",
39
- "typescript": "^5.9.2",
40
- "typescript-eslint": "^8.39.1"
39
+ "typescript": "^5.9.3",
40
+ "typescript-eslint": "^8.47.0"
41
41
  },
42
42
  "dependencies": {
43
- "@adyen/adyen-web": "^6.19.0",
44
- "@datadog/browser-logs": "^6.17.0",
45
- "@stripe/stripe-js": "^7.8.0"
43
+ "@adyen/adyen-web": "^6.25.1",
44
+ "@datadog/browser-logs": "^6.24.1",
45
+ "@stripe/stripe-js": "^7.9.0"
46
46
  }
47
47
  }