@spritz-finance/api-client 0.2.0 → 0.2.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.
@@ -1225,7 +1225,7 @@ declare class VirtualCardService {
1225
1225
  private client;
1226
1226
  constructor(client: SpritzClient);
1227
1227
  fetch(): Promise<UserVirtualDebitCard_virtualDebitCard | null>;
1228
- create<T extends VirtualCardType>(type: T, input: CreateInputMapping[T]): Promise<NonNullable<CreateMutationMapping[T]["query"][keyof CreateMutationMapping[T]["query"]]> | null>;
1228
+ create<T extends VirtualCardType>(type: T, input?: CreateInputMapping[T]): Promise<NonNullable<CreateMutationMapping[T]["query"][keyof CreateMutationMapping[T]["query"]]> | null>;
1229
1229
  }
1230
1230
 
1231
1231
  declare const EVENTS: readonly ["account.created", "account.updated", "account.deleted", "payment.created", "payment.updated", "payment.completed", "payment.refunded"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spritz-finance/api-client",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Typescript library for interacting with the Spritz Finance API",
5
5
  "main": "dist/spritz-api-client.js",
6
6
  "module": "dist/spritz-api-client.mjs",