@temboplus/afloat 0.2.1-beta.1 → 0.2.1-beta.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.
@@ -88,6 +88,7 @@ export declare const BeneficiaryJSONSchema: z.ZodDiscriminatedUnion<"type", [z.Z
88
88
  export type MobileBeneficiaryJSON = z.infer<typeof MobileBeneficiaryJSONSchema>;
89
89
  export type BankBeneficiaryJSON = z.infer<typeof BankBeneficiaryJSONSchema>;
90
90
  export type BeneficiaryJSON = z.infer<typeof BeneficiaryJSONSchema>;
91
+ type BeneficiaryInfoDTO = BeneficiaryInputDTO | BeneficiaryDTO;
91
92
  export declare class BeneficiaryError extends Error {
92
93
  readonly context: {
93
94
  phoneNumber?: string;
@@ -218,7 +219,7 @@ export declare class BeneficiaryInfoFactory {
218
219
  static fromJSONString(s: string): BeneficiaryInfo | undefined;
219
220
  static is(obj: unknown): obj is BeneficiaryInfo;
220
221
  static isJSON(obj: unknown): obj is BeneficiaryJSON;
221
- private static fromDTO;
222
+ static fromDTO(info: BeneficiaryInfoDTO): BeneficiaryInfo | undefined;
222
223
  }
223
224
  /**
224
225
  * @deprecated Use BeneficiaryInfoFactory instead.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temboplus/afloat",
3
- "version": "0.2.1-beta.1",
3
+ "version": "0.2.1-beta.2",
4
4
  "description": "A foundational library for Temboplus-Afloat projects.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",