@0xpolygonid/js-sdk 1.27.0 → 1.27.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.
@@ -4,6 +4,8 @@ import { PROTOCOL_MESSAGE_TYPE } from '../../constants';
4
4
  /** @beta PaymentRequestMessage is struct the represents payment-request message */
5
5
  export type PaymentRequestMessage = BasicMessage & {
6
6
  body: PaymentRequestMessageBody;
7
+ from: string;
8
+ to: string;
7
9
  type: typeof PROTOCOL_MESSAGE_TYPE.PAYMENT_REQUEST_MESSAGE_TYPE;
8
10
  };
9
11
  /** @beta PaymentRequestMessageBody is struct the represents body for payment-request */
@@ -66,6 +68,8 @@ export type EthereumEip712Signature2021 = {
66
68
  /** @beta PaymentMessage is struct the represents payment message */
67
69
  export type PaymentMessage = BasicMessage & {
68
70
  body: PaymentMessageBody;
71
+ from: string;
72
+ to: string;
69
73
  type: typeof PROTOCOL_MESSAGE_TYPE.PAYMENT_MESSAGE_TYPE;
70
74
  };
71
75
  /** @beta PaymentMessageBody is struct the represents body for payment message */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xpolygonid/js-sdk",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "description": "SDK to work with Polygon ID",
5
5
  "main": "dist/node/cjs/index.js",
6
6
  "module": "dist/node/esm/index.js",