@moonpay/platform-protocol 1.5.0 → 1.7.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.
package/README.md CHANGED
@@ -29,11 +29,12 @@ import type { Event as WidgetEvent } from '@moonpay/platform-protocol/sdks/widge
29
29
  |---------|----------|
30
30
  | `./protocol` | Wire format primitives: message envelope, handshake/ack, `FrameError` |
31
31
  | `./result` | `Result<T, E>`, `EmptyResult<E>`, `ok()`, `err()` |
32
- | `./frames/*` | Per-frame message maps (`widget`, `apple-pay`, `google-pay`, `buy`, `buy-button`, `connect`, `auth`, `add-card`, `challenge`, `reset`) |
32
+ | `./frames/*` | Per-frame message maps (`widget`, `apple-pay`, `google-pay`, `buy`, `buy-button`, `connect`, `auth`, `add-card`, `challenge`, `reset`, `customer-export`) |
33
33
  | `./sdks/*` | SDK-facing event and setup error types per frame |
34
34
  | `./models/*` | Cross-frame domain models (`connection`, `transaction`, `challenge`) |
35
35
  | `./api` | REST API types (quotes, transactions, payment methods) |
36
- | `./api/identity` | Identity API types |
36
+ | `./api/identity` | Identity API types (deprecated — see `./api/customer`) |
37
+ | `./api/customer` | Customer API types |
37
38
  | `./api/errors` | API error types |
38
39
 
39
40
  ## Documentation
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/api/customer.ts
17
+ var customer_exports = {};
18
+ module.exports = __toCommonJS(customer_exports);
19
+ //# sourceMappingURL=customer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/api/customer.ts"],"sourcesContent":["/**\n * Customer API types.\n *\n * Supersedes the Identity API (`./identity.js`), which is deprecated\n * (DEVXP-1454). Re-exported from the generated OpenAPI types — see\n * `./gen/index.js`.\n */\nexport type {\n Customer,\n CustomerExportBasicDetails,\n CustomerExportFile,\n CustomerExportFileSide,\n CustomerExportFileType,\n CustomerExportIdentity,\n CustomerExportPhoneNumber,\n CustomerExportResidentialAddress,\n CustomerExportTaxIdentifier,\n CustomerExportTaxIdentifierType,\n CustomerKyc,\n CustomerKycStatus,\n} from './gen/index.js';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}