@airgap/optimism 0.13.41-beta.9 → 0.13.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/optimism",
3
- "version": "0.13.41-beta.9",
3
+ "version": "0.13.41",
4
4
  "description": "The @airgap/optimism is an Optimism implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
5
5
  "keywords": [
6
6
  "airgap",
@@ -31,11 +31,11 @@
31
31
  },
32
32
  "author": "Papers AG <contact@papers.ch> (https://papers.ch)",
33
33
  "dependencies": {
34
- "@airgap/coinlib-core": "^0.13.41-beta.9",
35
- "@airgap/crypto": "^0.13.41-beta.9",
36
- "@airgap/ethereum": "^0.13.41-beta.9",
37
- "@airgap/module-kit": "^0.13.41-beta.9",
38
- "@airgap/serializer": "^0.13.41-beta.9",
34
+ "@airgap/coinlib-core": "^0.13.41",
35
+ "@airgap/crypto": "^0.13.41",
36
+ "@airgap/ethereum": "^0.13.41",
37
+ "@airgap/module-kit": "^0.13.41",
38
+ "@airgap/serializer": "^0.13.41",
39
39
  "@ethereumjs/tx": "3.4.0"
40
40
  },
41
41
  "nyc": {
@@ -15,25 +15,28 @@
15
15
  "type": "string"
16
16
  },
17
17
  "transaction": {
18
- "additionalProperties": false,
19
- "properties": {
20
- "derivationPath": {
21
- "type": "string"
22
- },
23
- "masterFingerprint": {
24
- "type": "string"
25
- },
26
- "serialized": {
27
- "$ref": "#/definitions/HexString",
28
- "type": "string"
29
- }
30
- },
31
- "required": ["derivationPath", "masterFingerprint", "serialized"],
32
- "type": "object"
18
+ "$ref": "#/definitions/SerializableEthereumTypedUnsignedTransaction"
33
19
  }
34
20
  },
35
21
  "required": ["publicKey", "transaction"],
36
22
  "type": "object"
23
+ },
24
+ "SerializableEthereumTypedUnsignedTransaction": {
25
+ "additionalProperties": false,
26
+ "properties": {
27
+ "derivationPath": {
28
+ "type": "string"
29
+ },
30
+ "masterFingerprint": {
31
+ "type": "string"
32
+ },
33
+ "serialized": {
34
+ "$ref": "#/definitions/HexString",
35
+ "type": "string"
36
+ }
37
+ },
38
+ "required": ["derivationPath", "masterFingerprint", "serialized"],
39
+ "type": "object"
37
40
  }
38
41
  }
39
42
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "$ref": "#/definitions/OptimismTransactionSignRequest",
3
2
  "$schema": "http://json-schema.org/draft-07/schema#",
4
3
  "definitions": {
5
4
  "HexString": {
@@ -15,45 +14,48 @@
15
14
  "type": "string"
16
15
  },
17
16
  "transaction": {
18
- "additionalProperties": false,
19
- "properties": {
20
- "chainId": {
21
- "type": "number"
22
- },
23
- "data": {
24
- "$ref": "#/definitions/HexString",
25
- "type": "string"
26
- },
27
- "gasLimit": {
28
- "$ref": "#/definitions/HexString",
29
- "type": "string"
30
- },
31
- "gasPrice": {
32
- "$ref": "#/definitions/HexString",
33
- "type": "string"
34
- },
35
- "l1DataFee": {
36
- "type": "string"
37
- },
38
- "nonce": {
39
- "$ref": "#/definitions/HexString",
40
- "type": "string"
41
- },
42
- "to": {
43
- "$ref": "#/definitions/HexString",
44
- "type": "string"
45
- },
46
- "value": {
47
- "$ref": "#/definitions/HexString",
48
- "type": "string"
49
- }
50
- },
51
- "required": ["chainId", "data", "gasLimit", "gasPrice", "l1DataFee", "nonce", "to", "value"],
52
- "type": "object"
17
+ "$ref": "#/definitions/SerializableOptimismRawUnsignedTransaction"
53
18
  }
54
19
  },
55
20
  "required": ["publicKey", "transaction"],
56
21
  "type": "object"
22
+ },
23
+ "SerializableOptimismRawUnsignedTransaction": {
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "chainId": {
27
+ "type": "number"
28
+ },
29
+ "data": {
30
+ "$ref": "#/definitions/HexString",
31
+ "type": "string"
32
+ },
33
+ "gasLimit": {
34
+ "$ref": "#/definitions/HexString",
35
+ "type": "string"
36
+ },
37
+ "gasPrice": {
38
+ "$ref": "#/definitions/HexString",
39
+ "type": "string"
40
+ },
41
+ "l1DataFee": {
42
+ "type": "string"
43
+ },
44
+ "nonce": {
45
+ "$ref": "#/definitions/HexString",
46
+ "type": "string"
47
+ },
48
+ "to": {
49
+ "$ref": "#/definitions/HexString",
50
+ "type": "string"
51
+ },
52
+ "value": {
53
+ "$ref": "#/definitions/HexString",
54
+ "type": "string"
55
+ }
56
+ },
57
+ "required": ["chainId", "data", "gasLimit", "gasPrice", "l1DataFee", "nonce", "to", "value"],
58
+ "type": "object"
57
59
  }
58
60
  }
59
61
  }