@airgap/optimism 0.13.43-beta.4 → 0.13.43-beta.6

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.43-beta.4",
3
+ "version": "0.13.43-beta.6",
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.43-beta.4",
35
- "@airgap/crypto": "^0.13.43-beta.4",
36
- "@airgap/ethereum": "^0.13.43-beta.4",
37
- "@airgap/module-kit": "^0.13.43-beta.4",
38
- "@airgap/serializer": "^0.13.43-beta.4",
34
+ "@airgap/coinlib-core": "^0.13.43-beta.6",
35
+ "@airgap/crypto": "^0.13.43-beta.6",
36
+ "@airgap/ethereum": "^0.13.43-beta.6",
37
+ "@airgap/module-kit": "^0.13.43-beta.6",
38
+ "@airgap/serializer": "^0.13.43-beta.6",
39
39
  "@ethereumjs/tx": "3.4.0"
40
40
  },
41
41
  "nyc": {
@@ -15,28 +15,25 @@
15
15
  "type": "string"
16
16
  },
17
17
  "transaction": {
18
- "$ref": "#/definitions/SerializableEthereumTypedUnsignedTransaction"
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"
19
33
  }
20
34
  },
21
35
  "required": ["publicKey", "transaction"],
22
36
  "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"
40
37
  }
41
38
  }
42
39
  }
@@ -1,4 +1,5 @@
1
1
  {
2
+ "$ref": "#/definitions/OptimismTransactionSignRequest",
2
3
  "$schema": "http://json-schema.org/draft-07/schema#",
3
4
  "definitions": {
4
5
  "HexString": {
@@ -14,48 +15,45 @@
14
15
  "type": "string"
15
16
  },
16
17
  "transaction": {
17
- "$ref": "#/definitions/SerializableOptimismRawUnsignedTransaction"
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"
18
53
  }
19
54
  },
20
55
  "required": ["publicKey", "transaction"],
21
56
  "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"
59
57
  }
60
58
  }
61
59
  }