viem 0.0.0-main.20230606T201917 → 0.0.0-main.20230606T203528

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,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.0.0-main.20230606T201917';
4
+ exports.version = '0.0.0-main.20230606T203528';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '0.0.0-main.20230606T201917';
1
+ export const version = '0.0.0-main.20230606T203528';
2
2
  //# sourceMappingURL=version.js.map
@@ -11,7 +11,7 @@ export type SignTypedDataParameters<TTypedData extends TypedData | {
11
11
  } = TypedData, TPrimaryType extends string = string, TAccount extends Account | undefined = undefined> = GetAccountParameter<TAccount> & TypedDataDefinition<TTypedData, TPrimaryType>;
12
12
  export type SignTypedDataReturnType = Hex;
13
13
  /**
14
- * Signs typed data and calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`.
14
+ * Signs typed data and calculates an Ethereum-specific signature in [https://eips.ethereum.org/EIPS/eip-712](https://eips.ethereum.org/EIPS/eip-712): `sign(keccak256("\x19\x01" domainSeparator hashStruct(message)))`
15
15
  *
16
16
  * - Docs: https://viem.sh/docs/actions/wallet/signTypedData.html
17
17
  * - JSON-RPC Methods:
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.0-main.20230606T201917";
1
+ export declare const version = "0.0.0-main.20230606T203528";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "isomorphic-ws": "5.0.0",
13
13
  "ws": "8.12.0"
14
14
  },
15
- "version": "0.0.0-main.20230606T201917",
15
+ "version": "0.0.0-main.20230606T203528",
16
16
  "files": [
17
17
  "dist",
18
18
  "!dist/**/*.tsbuildinfo",
@@ -23,7 +23,7 @@ export type SignTypedDataParameters<
23
23
  export type SignTypedDataReturnType = Hex
24
24
 
25
25
  /**
26
- * Signs typed data and calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`.
26
+ * Signs typed data and calculates an Ethereum-specific signature in [https://eips.ethereum.org/EIPS/eip-712](https://eips.ethereum.org/EIPS/eip-712): `sign(keccak256("\x19\x01" domainSeparator hashStruct(message)))`
27
27
  *
28
28
  * - Docs: https://viem.sh/docs/actions/wallet/signTypedData.html
29
29
  * - JSON-RPC Methods:
@@ -1 +1 @@
1
- export const version = '0.0.0-main.20230606T201917'
1
+ export const version = '0.0.0-main.20230606T203528'