Compare commits

...

9 Commits

Author SHA1 Message Date
Denis Angell
b054430406 Publish
- @transia/ripple-address-codec@4.2.7
 - @transia/ripple-binary-codec@1.4.5
 - @transia/ripple-keypairs@1.1.7
 - @transia/xrpl@2.7.2
2023-03-28 18:16:46 +00:00
Denis Angell
c29f512345 update readme links 2023-03-28 18:15:31 +00:00
Denis Angell
d86cd8d813 add public access 2023-03-28 17:51:21 +00:00
Denis Angell
40d9c2b1a1 update git head 2023-03-28 17:45:11 +00:00
Denis Angell
6c25d08019 Publish
- @transia/ripple-address-codec@4.2.6
 - @transia/ripple-binary-codec@1.4.4
 - @transia/ripple-keypairs@1.1.6
 - @transia/xrpl@2.7.1
2023-03-28 17:40:48 +00:00
Denis Angell
6f72189c13 update repo name 2023-03-28 17:39:37 +00:00
Denis Angell
5429930c0d update tests 2023-03-27 21:52:49 +00:00
Denis Angell
f82872fe9f add network id (req for sethook) 2023-03-27 21:48:58 +00:00
Denis Angell
8d16592abb add uritoken (req for hook on calc) 2023-03-27 21:48:43 +00:00
10 changed files with 143 additions and 25 deletions

92
package-lock.json generated
View File

@@ -2722,6 +2722,22 @@
"node": ">= 6"
}
},
"node_modules/@transia/ripple-address-codec": {
"resolved": "packages/ripple-address-codec",
"link": true
},
"node_modules/@transia/ripple-binary-codec": {
"resolved": "packages/ripple-binary-codec",
"link": true
},
"node_modules/@transia/ripple-keypairs": {
"resolved": "packages/ripple-keypairs",
"link": true
},
"node_modules/@transia/xrpl": {
"resolved": "packages/xrpl",
"link": true
},
"node_modules/@tsconfig/node10": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
@@ -17124,7 +17140,8 @@
}
},
"packages/ripple-address-codec": {
"version": "4.2.5",
"name": "@transia/ripple-address-codec",
"version": "4.2.7",
"license": "ISC",
"dependencies": {
"base-x": "^3.0.9",
@@ -17135,7 +17152,8 @@
}
},
"packages/ripple-binary-codec": {
"version": "1.4.3",
"name": "@transia/ripple-binary-codec",
"version": "1.4.5",
"license": "ISC",
"dependencies": {
"assert": "^2.0.0",
@@ -17158,7 +17176,8 @@
}
},
"packages/ripple-keypairs": {
"version": "1.1.5",
"name": "@transia/ripple-keypairs",
"version": "1.1.7",
"license": "ISC",
"dependencies": {
"bn.js": "^5.1.1",
@@ -17172,7 +17191,8 @@
}
},
"packages/xrpl": {
"version": "2.7.0",
"name": "@transia/xrpl",
"version": "2.7.2",
"license": "ISC",
"dependencies": {
"bignumber.js": "^9.0.0",
@@ -19350,6 +19370,70 @@
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
"dev": true
},
"@transia/ripple-address-codec": {
"version": "file:packages/ripple-address-codec",
"requires": {
"base-x": "^3.0.9",
"create-hash": "^1.1.2"
}
},
"@transia/ripple-binary-codec": {
"version": "file:packages/ripple-binary-codec",
"requires": {
"assert": "^2.0.0",
"big-integer": "^1.6.48",
"buffer": "5.6.0",
"create-hash": "^1.2.0",
"decimal.js": "^10.2.0",
"ripple-address-codec": "^4.2.5"
},
"dependencies": {
"buffer": {
"version": "5.6.0",
"requires": {
"base64-js": "^1.0.2",
"ieee754": "^1.1.4"
}
}
}
},
"@transia/ripple-keypairs": {
"version": "file:packages/ripple-keypairs",
"requires": {
"bn.js": "^5.1.1",
"brorand": "^1.0.5",
"elliptic": "^6.5.4",
"hash.js": "^1.0.3",
"ripple-address-codec": "^4.2.5"
}
},
"@transia/xrpl": {
"version": "file:packages/xrpl",
"requires": {
"@geut/browser-node-core": "^2.0.13",
"@types/node": "^14.18.36",
"assert-browserify": "^2.0.0",
"bignumber.js": "^9.0.0",
"bip32": "^2.0.6",
"bip39": "^3.0.4",
"browserify-fs": "^1.0.0",
"constants-browserify": "^1.0.0",
"https-browserify": "^1.0.0",
"https-proxy-agent": "^5.0.0",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-jasmine": "^5.1.0",
"karma-webpack": "^5.0.0",
"lodash": "^4.17.4",
"node-polyfill-webpack-plugin": "^2.0.1",
"react": "^18.2.0",
"ripple-address-codec": "^4.2.5",
"ripple-binary-codec": "^1.4.3",
"ripple-keypairs": "^1.1.5",
"typedoc": "^0.23.24",
"ws": "^8.2.2"
}
},
"@tsconfig/node10": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",

View File

@@ -1,12 +1,12 @@
{
"name": "ripple-address-codec",
"version": "4.2.5",
"version": "4.2.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ripple-address-codec",
"version": "4.2.4",
"version": "4.2.7",
"license": "ISC",
"dependencies": {
"base-x": "^3.0.9",

View File

@@ -1,6 +1,6 @@
{
"name": "ripple-address-codec",
"version": "4.2.5",
"name": "@transia/ripple-address-codec",
"version": "4.2.7",
"description": "encodes/decodes base58 encoded XRP Ledger identifiers",
"files": [
"dist/*",
@@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
"url": "git@github.com:Transia-RnD/xrpl.js.git"
},
"prepublish": "tsc -b",
"prepublishOnly": "tslint -b ./ && jest",
@@ -28,5 +28,9 @@
"prettier": "@xrplf/prettier-config",
"engines": {
"node": ">= 10"
},
"gitHead": "40d9c2b1a158ab480df7e8b1c7dc2ed3b88afc75",
"publishConfig": {
"access": "public"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "ripple-binary-codec",
"version": "1.4.3",
"name": "@transia/ripple-binary-codec",
"version": "1.4.5",
"description": "XRP Ledger binary codec",
"files": [
"dist/*",
@@ -28,16 +28,20 @@
},
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
"url": "git@github.com:Transia-RnD/xrpl.js.git"
},
"bugs": {
"url": "https://github.com/XRPLF/xrpl.js/issues"
"url": "https://github.com/Transia-RnD/xrpl.js/issues"
},
"homepage": "https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-binary-codec#readme",
"homepage": "https://github.com/Transia-RnD/xrpl.js/tree/main/packages/ripple-binary-codec#readme",
"license": "ISC",
"readmeFilename": "README.md",
"prettier": "@xrplf/prettier-config",
"engines": {
"node": ">= 10"
},
"gitHead": "6c25d08019d06534525a4a2bf41bf0e135a79849",
"publishConfig": {
"access": "public"
}
}

View File

@@ -44,6 +44,7 @@
"NegativeUNL": 78,
"NFTokenPage": 80,
"NFTokenOffer": 55,
"URIToken": 85,
"Any": -3,
"Child": -2,
"Nickname": 110,
@@ -1325,6 +1326,16 @@
"type": "Hash256"
}
],
[
"URITokenID",
{
"nth": 36,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"Amount",
{
@@ -2455,6 +2466,11 @@
"NFTokenCreateOffer": 27,
"NFTokenCancelOffer": 28,
"NFTokenAcceptOffer": 29,
"URITokenMint": 45,
"URITokenBurn": 46,
"URITokenBuy": 47,
"URITokenCreateSellOffer": 48,
"URITokenCancelSellOffer": 49,
"Invoke": 99,
"EnableAmendment": 100,
"SetFee": 101,

View File

@@ -1,6 +1,6 @@
{
"name": "ripple-keypairs",
"version": "1.1.5",
"name": "@transia/ripple-keypairs",
"version": "1.1.7",
"description": "Cryptographic key pairs for the XRP Ledger",
"scripts": {
"build": "tsc -b",
@@ -25,11 +25,15 @@
},
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
"url": "git@github.com:Transia-RnD/xrpl.js.git"
},
"license": "ISC",
"prettier": "@xrplf/prettier-config",
"engines": {
"node": ">= 10"
},
"gitHead": "40d9c2b1a158ab480df7e8b1c7dc2ed3b88afc75",
"publishConfig": {
"access": "public"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "xrpl",
"version": "2.7.0",
"name": "@transia/xrpl",
"version": "2.7.2",
"license": "ISC",
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
"files": [
@@ -75,10 +75,14 @@
"prettier": "@xrplf/prettier-config",
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
"url": "git@github.com:Transia-RnD/xrpl.js.git"
},
"readmeFilename": "README.md",
"engines": {
"node": ">=10.13.0"
},
"gitHead": "40d9c2b1a158ab480df7e8b1c7dc2ed3b88afc75",
"publishConfig": {
"access": "public"
}
}

View File

@@ -159,6 +159,8 @@ export interface BaseTransaction {
* account it says it is from.
*/
TxnSignature?: string
NetworkID?: number
}
/**

View File

@@ -23,7 +23,7 @@ describe('SetHook', function () {
CreateCode:
'0061736D01000000011C0460057F7F7F7F7F017E60037F7F7E017E60027F7F017F60017F017E02230303656E76057472616365000003656E7606616363657074000103656E76025F670002030201030503010002062B077F0141B088040B7F004180080B7F0041A6080B7F004180080B7F0041B088040B7F0041000B7F0041010B07080104686F6F6B00030AC4800001C0800001017F230041106B220124002001200036020C41920841134180084112410010001A410022002000420010011A41012200200010021A200141106A240042000B0B2C01004180080B254163636570742E633A2043616C6C65642E00224163636570742E633A2043616C6C65642E22',
HookOn:
'000000000000000000000000000000000000000000000000000000003E3FF5B7',
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFF7',
Flags: 1,
HookApiVersion: 0,
HookNamespace:
@@ -76,7 +76,7 @@ describe('SetHook', function () {
CreateCode:
'0061736D01000000011C0460057F7F7F7F7F017E60037F7F7E017E60027F7F017F60017F017E02230303656E76057472616365000003656E7606616363657074000103656E76025F670002030201030503010002062B077F0141B088040B7F004180080B7F0041A6080B7F004180080B7F0041B088040B7F0041000B7F0041010B07080104686F6F6B00030AC4800001C0800001017F230041106B220124002001200036020C41920841134180084112410010001A410022002000420010011A41012200200010021A200141106A240042000B0B2C01004180080B254163636570742E633A2043616C6C65642E00224163636570742E633A2043616C6C65642E22',
HookOn:
'000000000000000000000000000000000000000000000000000000003E3FF5B7',
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFF7',
Flags: 1,
HookApiVersion: 0,
HookNamespace:
@@ -131,7 +131,7 @@ describe('SetHook', function () {
CreateCode:
'0061736D01000000011C0460057F7F7F7F7F017E60037F7F7E017E60027F7F017F60017F017E02230303656E76057472616365000003656E7606616363657074000103656E76025F670002030201030503010002062B077F0141B088040B7F004180080B7F0041A6080B7F004180080B7F0041B088040B7F0041000B7F0041010B07080104686F6F6B00030AC4800001C0800001017F230041106B220124002001200036020C41920841134180084112410010001A410022002000420010011A41012200200010021A200141106A240042000B0B2C01004180080B254163636570742E633A2043616C6C65642E00224163636570742E633A2043616C6C65642E22',
HookOn:
'000000000000000000000000000000000000000000000000000000003E3FF5B7',
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFF7',
Flags: 1,
HookApiVersion: 0,
HookNamespace: '',

View File

@@ -18,7 +18,7 @@ describe('test hook on', function () {
const result = calculateHookOn([])
assert.equal(
result,
'000000000000000000000000000000000000000000000000000000003E3FF5BF',
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFFF',
)
})
it('one', function () {
@@ -26,7 +26,7 @@ describe('test hook on', function () {
const result = calculateHookOn(invokeOn)
assert.equal(
result,
'000000000000000000000000000000000000000000000000000000003E3FF5B7',
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFF7',
)
})
})