@rebilly/framepay 5.160.1 → 5.160.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -217,6 +217,8 @@ export declare interface ClassesConfig {
217
217
  googlePay?: string;
218
218
  }
219
219
 
220
+ export declare type CompositeTokenFields = (coreComponents['schemas']['CompositeToken'] extends infer Variant ? Variant extends unknown ? (member: Partial<Variant>) => void : never : never) extends (member: infer Merged) => void ? Merged : never;
221
+
220
222
  /**
221
223
  * The configuration input directly provided by merchants.
222
224
  */
@@ -1018,9 +1020,9 @@ export declare const SupportedCardBrands: Record<string, string>;
1018
1020
 
1019
1021
  export declare const supportedExtraPayPalConfigs: string[];
1020
1022
 
1021
- export declare type TokenData = coreComponents['schemas']['CompositeToken'] & {
1023
+ export declare type TokenData = CompositeTokenFields & {
1022
1024
  id: string;
1023
- paymentInstrument: coreComponents['schemas']['CompositeToken']['paymentInstrument'] & {
1025
+ paymentInstrument: NonNullable<CompositeTokenFields['paymentInstrument']> & {
1024
1026
  encryptedCvv?: string;
1025
1027
  };
1026
1028
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/framepay",
3
- "version": "5.160.1",
3
+ "version": "5.160.3",
4
4
  "description": "A wrapper to load Rebilly's FramePay library and provide TypeScript types",
5
5
  "type": "module",
6
6
  "license": "MIT",