@massalabs/wallet-provider 1.4.2-dev.20230929102811 → 1.4.2-dev.20230929102824

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.
@@ -1,20 +1,25 @@
1
1
  /**
2
- * This interface represents the request object for the signing operation sent to the content script.
2
+ * Represents the payload for a signing operation request sent to the content script.
3
+ * address - Account's unique address.
4
+ * data - Data to be signed, as a Uint8Array.
3
5
  */
4
6
  export interface IAccountSignRequest {
5
7
  address: string;
6
8
  data: Uint8Array;
7
9
  }
8
10
  /**
9
- * This interface represents the response object containing the signed message data, which is sent by the content script
10
- * after the signing operation.
11
+ * Represents response from the content script after a signing operation.
12
+ * publicKey - Public key of the account.
13
+ * signature - Signed message data.
11
14
  */
12
15
  export interface IAccountSignResponse {
13
16
  publicKey: string;
14
17
  signature: string;
15
18
  }
16
19
  /**
17
- * This interface represents the output of a sign() method
20
+ * Represents the output produced by the sign() method.
21
+ * publicKey - Public key of the account.
22
+ * base58Encoded - Base58 encoded representation of the signed data.
18
23
  */
19
24
  export interface IAccountSignOutput {
20
25
  publicKey: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSign.d.ts","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"AccountSign.d.ts","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSign.js","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * This interface represents the request object for the signing operation sent to the content script.\n */\nexport interface IAccountSignRequest {\n address: string;\n data: Uint8Array;\n}\n\n/**\n * This interface represents the response object containing the signed message data, which is sent by the content script\n * after the signing operation.\n */\nexport interface IAccountSignResponse {\n publicKey: string;\n signature: string;\n}\n\n/**\n * This interface represents the output of a sign() method\n */\nexport interface IAccountSignOutput {\n publicKey: string;\n base58Encoded: string;\n}\n"]}
1
+ {"version":3,"file":"AccountSign.js","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents the payload for a signing operation request sent to the content script.\n * address - Account's unique address.\n * data - Data to be signed, as a Uint8Array.\n */\nexport interface IAccountSignRequest {\n address: string;\n data: Uint8Array;\n}\n\n/**\n * Represents response from the content script after a signing operation.\n * publicKey - Public key of the account.\n * signature - Signed message data.\n */\nexport interface IAccountSignResponse {\n publicKey: string;\n signature: string;\n}\n\n/**\n * Represents the output produced by the sign() method.\n * publicKey - Public key of the account.\n * base58Encoded - Base58 encoded representation of the signed data.\n */\nexport interface IAccountSignOutput {\n publicKey: string;\n base58Encoded: string;\n}\n"]}
@@ -1,20 +1,25 @@
1
1
  /**
2
- * This interface represents the request object for the signing operation sent to the content script.
2
+ * Represents the payload for a signing operation request sent to the content script.
3
+ * address - Account's unique address.
4
+ * data - Data to be signed, as a Uint8Array.
3
5
  */
4
6
  export interface IAccountSignRequest {
5
7
  address: string;
6
8
  data: Uint8Array;
7
9
  }
8
10
  /**
9
- * This interface represents the response object containing the signed message data, which is sent by the content script
10
- * after the signing operation.
11
+ * Represents response from the content script after a signing operation.
12
+ * publicKey - Public key of the account.
13
+ * signature - Signed message data.
11
14
  */
12
15
  export interface IAccountSignResponse {
13
16
  publicKey: string;
14
17
  signature: string;
15
18
  }
16
19
  /**
17
- * This interface represents the output of a sign() method
20
+ * Represents the output produced by the sign() method.
21
+ * publicKey - Public key of the account.
22
+ * base58Encoded - Base58 encoded representation of the signed data.
18
23
  */
19
24
  export interface IAccountSignOutput {
20
25
  publicKey: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSign.d.ts","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"AccountSign.d.ts","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSign.js","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * This interface represents the request object for the signing operation sent to the content script.\n */\nexport interface IAccountSignRequest {\n address: string;\n data: Uint8Array;\n}\n\n/**\n * This interface represents the response object containing the signed message data, which is sent by the content script\n * after the signing operation.\n */\nexport interface IAccountSignResponse {\n publicKey: string;\n signature: string;\n}\n\n/**\n * This interface represents the output of a sign() method\n */\nexport interface IAccountSignOutput {\n publicKey: string;\n base58Encoded: string;\n}\n"]}
1
+ {"version":3,"file":"AccountSign.js","sourceRoot":"","sources":["../../../src/account/AccountSign.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents the payload for a signing operation request sent to the content script.\n * address - Account's unique address.\n * data - Data to be signed, as a Uint8Array.\n */\nexport interface IAccountSignRequest {\n address: string;\n data: Uint8Array;\n}\n\n/**\n * Represents response from the content script after a signing operation.\n * publicKey - Public key of the account.\n * signature - Signed message data.\n */\nexport interface IAccountSignResponse {\n publicKey: string;\n signature: string;\n}\n\n/**\n * Represents the output produced by the sign() method.\n * publicKey - Public key of the account.\n * base58Encoded - Base58 encoded representation of the signed data.\n */\nexport interface IAccountSignOutput {\n publicKey: string;\n base58Encoded: string;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massalabs/wallet-provider",
3
- "version": "1.4.2-dev.20230929102811",
3
+ "version": "1.4.2-dev.20230929102824",
4
4
  "description": "massa's wallet provider",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",