ripple-binary-codec 2.3.0 → 2.4.0-smartescrow.1

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.
Files changed (34) hide show
  1. package/dist/enums/definitions.json +89 -23
  2. package/dist/enums/src/enums/definitions.json +94 -23
  3. package/dist/enums/xrpl-definitions-base.d.ts +3 -2
  4. package/dist/enums/xrpl-definitions-base.js +3 -2
  5. package/dist/enums/xrpl-definitions-base.js.map +1 -1
  6. package/dist/enums/xrpl-definitions.d.ts +2 -1
  7. package/dist/enums/xrpl-definitions.js +2 -1
  8. package/dist/enums/xrpl-definitions.js.map +1 -1
  9. package/dist/src/enums/definitions.json +67 -23
  10. package/dist/src/enums/xrpl-definitions-base.d.ts +3 -2
  11. package/dist/src/enums/xrpl-definitions-base.js +3 -2
  12. package/dist/src/enums/xrpl-definitions-base.js.map +1 -1
  13. package/dist/src/enums/xrpl-definitions.d.ts +2 -1
  14. package/dist/src/enums/xrpl-definitions.js +2 -1
  15. package/dist/src/enums/xrpl-definitions.js.map +1 -1
  16. package/dist/src/types/issue.d.ts +19 -9
  17. package/dist/src/types/issue.js +36 -13
  18. package/dist/src/types/issue.js.map +1 -1
  19. package/dist/src/types/st-object.js +14 -4
  20. package/dist/src/types/st-object.js.map +1 -1
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/dist/types/issue.d.ts +19 -9
  23. package/dist/types/issue.js +36 -13
  24. package/dist/types/issue.js.map +1 -1
  25. package/dist/types/st-object.js +14 -4
  26. package/dist/types/st-object.js.map +1 -1
  27. package/package.json +4 -3
  28. package/src/.DS_Store +0 -0
  29. package/src/enums/README.md +2 -2
  30. package/src/enums/definitions.json +94 -23
  31. package/src/enums/xrpl-definitions-base.ts +3 -2
  32. package/src/enums/xrpl-definitions.ts +2 -1
  33. package/src/types/issue.ts +58 -18
  34. package/src/types/st-object.ts +18 -7
@@ -670,6 +670,46 @@
670
670
  "type": "UInt32"
671
671
  }
672
672
  ],
673
+ [
674
+ "ExtensionComputeLimit",
675
+ {
676
+ "isSerialized": true,
677
+ "isSigningField": true,
678
+ "isVLEncoded": false,
679
+ "nth": 52,
680
+ "type": "UInt32"
681
+ }
682
+ ],
683
+ [
684
+ "ExtensionSizeLimit",
685
+ {
686
+ "isSerialized": true,
687
+ "isSigningField": true,
688
+ "isVLEncoded": false,
689
+ "nth": 53,
690
+ "type": "UInt32"
691
+ }
692
+ ],
693
+ [
694
+ "GasPrice",
695
+ {
696
+ "isSerialized": true,
697
+ "isSigningField": true,
698
+ "isVLEncoded": false,
699
+ "nth": 54,
700
+ "type": "UInt32"
701
+ }
702
+ ],
703
+ [
704
+ "ComputationAllowance",
705
+ {
706
+ "isSerialized": true,
707
+ "isSigningField": true,
708
+ "isVLEncoded": false,
709
+ "nth": 55,
710
+ "type": "UInt32"
711
+ }
712
+ ],
673
713
  [
674
714
  "IndexNext",
675
715
  {
@@ -913,20 +953,20 @@
913
953
  [
914
954
  "IssuerNode",
915
955
  {
916
- "nth": 27,
917
- "isVLEncoded": false,
918
956
  "isSerialized": true,
919
957
  "isSigningField": true,
958
+ "isVLEncoded": false,
959
+ "nth": 27,
920
960
  "type": "UInt64"
921
961
  }
922
962
  ],
923
963
  [
924
964
  "SubjectNode",
925
965
  {
926
- "nth": 28,
927
- "isVLEncoded": false,
928
966
  "isSerialized": true,
929
967
  "isSigningField": true,
968
+ "isVLEncoded": false,
969
+ "nth": 28,
930
970
  "type": "UInt64"
931
971
  }
932
972
  ],
@@ -1253,10 +1293,10 @@
1253
1293
  [
1254
1294
  "DomainID",
1255
1295
  {
1256
- "nth": 34,
1257
- "isVLEncoded": false,
1258
1296
  "isSerialized": true,
1259
1297
  "isSigningField": true,
1298
+ "isVLEncoded": false,
1299
+ "nth": 34,
1260
1300
  "type": "Hash256"
1261
1301
  }
1262
1302
  ],
@@ -1843,10 +1883,20 @@
1843
1883
  [
1844
1884
  "CredentialType",
1845
1885
  {
1846
- "nth": 31,
1886
+ "isSerialized": true,
1887
+ "isSigningField": true,
1847
1888
  "isVLEncoded": true,
1889
+ "nth": 31,
1890
+ "type": "Blob"
1891
+ }
1892
+ ],
1893
+ [
1894
+ "FinishFunction",
1895
+ {
1848
1896
  "isSerialized": true,
1849
1897
  "isSigningField": true,
1898
+ "isVLEncoded": true,
1899
+ "nth": 32,
1850
1900
  "type": "Blob"
1851
1901
  }
1852
1902
  ],
@@ -2023,13 +2073,23 @@
2023
2073
  [
2024
2074
  "Subject",
2025
2075
  {
2026
- "nth": 24,
2027
- "isVLEncoded": true,
2028
2076
  "isSerialized": true,
2029
2077
  "isSigningField": true,
2078
+ "isVLEncoded": true,
2079
+ "nth": 24,
2030
2080
  "type": "AccountID"
2031
2081
  }
2032
2082
  ],
2083
+ [
2084
+ "Number",
2085
+ {
2086
+ "isSerialized": true,
2087
+ "isSigningField": true,
2088
+ "isVLEncoded": false,
2089
+ "nth": 1,
2090
+ "type": "Number"
2091
+ }
2092
+ ],
2033
2093
  [
2034
2094
  "TransactionMetaData",
2035
2095
  {
@@ -2323,10 +2383,10 @@
2323
2383
  [
2324
2384
  "Credential",
2325
2385
  {
2326
- "nth": 33,
2327
- "isVLEncoded": false,
2328
2386
  "isSerialized": true,
2329
2387
  "isSigningField": true,
2388
+ "isVLEncoded": false,
2389
+ "nth": 33,
2330
2390
  "type": "STObject"
2331
2391
  }
2332
2392
  ],
@@ -2523,29 +2583,30 @@
2523
2583
  [
2524
2584
  "AuthorizeCredentials",
2525
2585
  {
2526
- "nth": 26,
2527
- "isVLEncoded": false,
2528
2586
  "isSerialized": true,
2529
2587
  "isSigningField": true,
2588
+ "isVLEncoded": false,
2589
+ "nth": 26,
2530
2590
  "type": "STArray"
2531
2591
  }
2532
2592
  ],
2533
2593
  [
2534
2594
  "UnauthorizeCredentials",
2535
2595
  {
2536
- "nth": 27,
2537
- "isVLEncoded": false,
2538
2596
  "isSerialized": true,
2539
2597
  "isSigningField": true,
2598
+ "isVLEncoded": false,
2599
+ "nth": 27,
2540
2600
  "type": "STArray"
2541
2601
  }
2542
2602
  ],
2543
2603
  [
2544
- "AcceptedCredentials", {
2545
- "nth": 28,
2546
- "isVLEncoded": false,
2604
+ "AcceptedCredentials",
2605
+ {
2547
2606
  "isSerialized": true,
2548
2607
  "isSigningField": true,
2608
+ "isVLEncoded": false,
2609
+ "nth": 28,
2549
2610
  "type": "STArray"
2550
2611
  }
2551
2612
  ],
@@ -2732,10 +2793,10 @@
2732
2793
  [
2733
2794
  "CredentialIDs",
2734
2795
  {
2735
- "nth": 5,
2736
- "isVLEncoded": true,
2737
2796
  "isSerialized": true,
2738
2797
  "isSigningField": true,
2798
+ "isVLEncoded": true,
2799
+ "nth": 5,
2739
2800
  "type": "Vector256"
2740
2801
  }
2741
2802
  ],
@@ -2866,6 +2927,7 @@
2866
2927
  "Amendments": 102,
2867
2928
  "Bridge": 105,
2868
2929
  "Check": 67,
2930
+ "Credential": 129,
2869
2931
  "DID": 73,
2870
2932
  "DepositPreauth": 112,
2871
2933
  "DirectoryNode": 100,
@@ -2880,7 +2942,6 @@
2880
2942
  "NegativeUNL": 78,
2881
2943
  "Offer": 111,
2882
2944
  "Oracle": 128,
2883
- "Credential": 129,
2884
2945
  "PayChannel": 120,
2885
2946
  "PermissionedDomain": 130,
2886
2947
  "RippleState": 114,
@@ -2910,6 +2971,7 @@
2910
2971
  "tecFAILED_PROCESSING": 105,
2911
2972
  "tecFROZEN": 137,
2912
2973
  "tecHAS_OBLIGATIONS": 151,
2974
+ "tecHOOK_REJECTED": 153,
2913
2975
  "tecINCOMPLETE": 169,
2914
2976
  "tecINSUFFICIENT_FUNDS": 159,
2915
2977
  "tecINSUFFICIENT_PAYMENT": 161,
@@ -2951,6 +3013,7 @@
2951
3013
  "tecUNFUNDED_AMM": 162,
2952
3014
  "tecUNFUNDED_OFFER": 103,
2953
3015
  "tecUNFUNDED_PAYMENT": 104,
3016
+ "tecWASM_REJECTED": 194,
2954
3017
  "tecXCHAIN_ACCOUNT_CREATE_PAST": 181,
2955
3018
  "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 182,
2956
3019
  "tecXCHAIN_BAD_CLAIM_ID": 172,
@@ -2987,8 +3050,10 @@
2987
3050
  "tefNOT_MULTI_SIGNING": -184,
2988
3051
  "tefNO_AUTH_REQUIRED": -191,
2989
3052
  "tefNO_TICKET": -180,
3053
+ "tefNO_WASM": -177,
2990
3054
  "tefPAST_SEQ": -190,
2991
3055
  "tefTOO_BIG": -181,
3056
+ "tefWASM_FIELD_NOT_INCLUDED": -176,
2992
3057
  "tefWRONG_PRIOR": -189,
2993
3058
  "telBAD_DOMAIN": -398,
2994
3059
  "telBAD_PATH_COUNT": -397,
@@ -3085,8 +3150,8 @@
3085
3150
  "CheckCash": 17,
3086
3151
  "CheckCreate": 16,
3087
3152
  "Clawback": 30,
3088
- "CredentialCreate": 58,
3089
3153
  "CredentialAccept": 59,
3154
+ "CredentialCreate": 58,
3090
3155
  "CredentialDelete": 60,
3091
3156
  "DIDDelete": 50,
3092
3157
  "DIDSet": 49,
@@ -3115,8 +3180,8 @@
3115
3180
  "PaymentChannelClaim": 15,
3116
3181
  "PaymentChannelCreate": 13,
3117
3182
  "PaymentChannelFund": 14,
3118
- "PermissionedDomainSet": 62,
3119
3183
  "PermissionedDomainDelete": 63,
3184
+ "PermissionedDomainSet": 62,
3120
3185
  "SetFee": 101,
3121
3186
  "SetRegularKey": 5,
3122
3187
  "SignerListSet": 12,
@@ -3146,6 +3211,7 @@
3146
3211
  "LedgerEntry": 10002,
3147
3212
  "Metadata": 10004,
3148
3213
  "NotPresent": 0,
3214
+ "Number": 9,
3149
3215
  "PathSet": 18,
3150
3216
  "STArray": 15,
3151
3217
  "STObject": 14,
@@ -670,6 +670,46 @@
670
670
  "type": "UInt32"
671
671
  }
672
672
  ],
673
+ [
674
+ "ExtensionComputeLimit",
675
+ {
676
+ "isSerialized": true,
677
+ "isSigningField": true,
678
+ "isVLEncoded": false,
679
+ "nth": 52,
680
+ "type": "UInt32"
681
+ }
682
+ ],
683
+ [
684
+ "ExtensionSizeLimit",
685
+ {
686
+ "isSerialized": true,
687
+ "isSigningField": true,
688
+ "isVLEncoded": false,
689
+ "nth": 53,
690
+ "type": "UInt32"
691
+ }
692
+ ],
693
+ [
694
+ "GasPrice",
695
+ {
696
+ "isSerialized": true,
697
+ "isSigningField": true,
698
+ "isVLEncoded": false,
699
+ "nth": 54,
700
+ "type": "UInt32"
701
+ }
702
+ ],
703
+ [
704
+ "ComputationAllowance",
705
+ {
706
+ "isSerialized": true,
707
+ "isSigningField": true,
708
+ "isVLEncoded": false,
709
+ "nth": 55,
710
+ "type": "UInt32"
711
+ }
712
+ ],
673
713
  [
674
714
  "IndexNext",
675
715
  {
@@ -913,20 +953,20 @@
913
953
  [
914
954
  "IssuerNode",
915
955
  {
916
- "nth": 27,
917
- "isVLEncoded": false,
918
956
  "isSerialized": true,
919
957
  "isSigningField": true,
958
+ "isVLEncoded": false,
959
+ "nth": 27,
920
960
  "type": "UInt64"
921
961
  }
922
962
  ],
923
963
  [
924
964
  "SubjectNode",
925
965
  {
926
- "nth": 28,
927
- "isVLEncoded": false,
928
966
  "isSerialized": true,
929
967
  "isSigningField": true,
968
+ "isVLEncoded": false,
969
+ "nth": 28,
930
970
  "type": "UInt64"
931
971
  }
932
972
  ],
@@ -1253,10 +1293,10 @@
1253
1293
  [
1254
1294
  "DomainID",
1255
1295
  {
1256
- "nth": 34,
1257
- "isVLEncoded": false,
1258
1296
  "isSerialized": true,
1259
1297
  "isSigningField": true,
1298
+ "isVLEncoded": false,
1299
+ "nth": 34,
1260
1300
  "type": "Hash256"
1261
1301
  }
1262
1302
  ],
@@ -1843,10 +1883,20 @@
1843
1883
  [
1844
1884
  "CredentialType",
1845
1885
  {
1846
- "nth": 31,
1886
+ "isSerialized": true,
1887
+ "isSigningField": true,
1847
1888
  "isVLEncoded": true,
1889
+ "nth": 31,
1890
+ "type": "Blob"
1891
+ }
1892
+ ],
1893
+ [
1894
+ "FinishFunction",
1895
+ {
1848
1896
  "isSerialized": true,
1849
1897
  "isSigningField": true,
1898
+ "isVLEncoded": true,
1899
+ "nth": 32,
1850
1900
  "type": "Blob"
1851
1901
  }
1852
1902
  ],
@@ -2023,13 +2073,23 @@
2023
2073
  [
2024
2074
  "Subject",
2025
2075
  {
2026
- "nth": 24,
2027
- "isVLEncoded": true,
2028
2076
  "isSerialized": true,
2029
2077
  "isSigningField": true,
2078
+ "isVLEncoded": true,
2079
+ "nth": 24,
2030
2080
  "type": "AccountID"
2031
2081
  }
2032
2082
  ],
2083
+ [
2084
+ "Number",
2085
+ {
2086
+ "isSerialized": true,
2087
+ "isSigningField": true,
2088
+ "isVLEncoded": false,
2089
+ "nth": 1,
2090
+ "type": "Number"
2091
+ }
2092
+ ],
2033
2093
  [
2034
2094
  "TransactionMetaData",
2035
2095
  {
@@ -2323,10 +2383,10 @@
2323
2383
  [
2324
2384
  "Credential",
2325
2385
  {
2326
- "nth": 33,
2327
- "isVLEncoded": false,
2328
2386
  "isSerialized": true,
2329
2387
  "isSigningField": true,
2388
+ "isVLEncoded": false,
2389
+ "nth": 33,
2330
2390
  "type": "STObject"
2331
2391
  }
2332
2392
  ],
@@ -2523,29 +2583,30 @@
2523
2583
  [
2524
2584
  "AuthorizeCredentials",
2525
2585
  {
2526
- "nth": 26,
2527
- "isVLEncoded": false,
2528
2586
  "isSerialized": true,
2529
2587
  "isSigningField": true,
2588
+ "isVLEncoded": false,
2589
+ "nth": 26,
2530
2590
  "type": "STArray"
2531
2591
  }
2532
2592
  ],
2533
2593
  [
2534
2594
  "UnauthorizeCredentials",
2535
2595
  {
2536
- "nth": 27,
2537
- "isVLEncoded": false,
2538
2596
  "isSerialized": true,
2539
2597
  "isSigningField": true,
2598
+ "isVLEncoded": false,
2599
+ "nth": 27,
2540
2600
  "type": "STArray"
2541
2601
  }
2542
2602
  ],
2543
2603
  [
2544
- "AcceptedCredentials", {
2545
- "nth": 28,
2546
- "isVLEncoded": false,
2604
+ "AcceptedCredentials",
2605
+ {
2547
2606
  "isSerialized": true,
2548
2607
  "isSigningField": true,
2608
+ "isVLEncoded": false,
2609
+ "nth": 28,
2549
2610
  "type": "STArray"
2550
2611
  }
2551
2612
  ],
@@ -2732,10 +2793,10 @@
2732
2793
  [
2733
2794
  "CredentialIDs",
2734
2795
  {
2735
- "nth": 5,
2736
- "isVLEncoded": true,
2737
2796
  "isSerialized": true,
2738
2797
  "isSigningField": true,
2798
+ "isVLEncoded": true,
2799
+ "nth": 5,
2739
2800
  "type": "Vector256"
2740
2801
  }
2741
2802
  ],
@@ -2866,6 +2927,7 @@
2866
2927
  "Amendments": 102,
2867
2928
  "Bridge": 105,
2868
2929
  "Check": 67,
2930
+ "Credential": 129,
2869
2931
  "DID": 73,
2870
2932
  "DepositPreauth": 112,
2871
2933
  "DirectoryNode": 100,
@@ -2880,7 +2942,6 @@
2880
2942
  "NegativeUNL": 78,
2881
2943
  "Offer": 111,
2882
2944
  "Oracle": 128,
2883
- "Credential": 129,
2884
2945
  "PayChannel": 120,
2885
2946
  "PermissionedDomain": 130,
2886
2947
  "RippleState": 114,
@@ -2910,6 +2971,7 @@
2910
2971
  "tecFAILED_PROCESSING": 105,
2911
2972
  "tecFROZEN": 137,
2912
2973
  "tecHAS_OBLIGATIONS": 151,
2974
+ "tecHOOK_REJECTED": 153,
2913
2975
  "tecINCOMPLETE": 169,
2914
2976
  "tecINSUFFICIENT_FUNDS": 159,
2915
2977
  "tecINSUFFICIENT_PAYMENT": 161,
@@ -2951,6 +3013,7 @@
2951
3013
  "tecUNFUNDED_AMM": 162,
2952
3014
  "tecUNFUNDED_OFFER": 103,
2953
3015
  "tecUNFUNDED_PAYMENT": 104,
3016
+ "tecWASM_REJECTED": 194,
2954
3017
  "tecXCHAIN_ACCOUNT_CREATE_PAST": 181,
2955
3018
  "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 182,
2956
3019
  "tecXCHAIN_BAD_CLAIM_ID": 172,
@@ -2968,6 +3031,7 @@
2968
3031
  "tecXCHAIN_SELF_COMMIT": 184,
2969
3032
  "tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 179,
2970
3033
  "tecXCHAIN_WRONG_CHAIN": 176,
3034
+
2971
3035
  "tefALREADY": -198,
2972
3036
  "tefBAD_ADD_AUTH": -197,
2973
3037
  "tefBAD_AUTH": -196,
@@ -2987,9 +3051,12 @@
2987
3051
  "tefNOT_MULTI_SIGNING": -184,
2988
3052
  "tefNO_AUTH_REQUIRED": -191,
2989
3053
  "tefNO_TICKET": -180,
3054
+ "tefNO_WASM": -177,
2990
3055
  "tefPAST_SEQ": -190,
2991
3056
  "tefTOO_BIG": -181,
3057
+ "tefWASM_FIELD_NOT_INCLUDED": -176,
2992
3058
  "tefWRONG_PRIOR": -189,
3059
+
2993
3060
  "telBAD_DOMAIN": -398,
2994
3061
  "telBAD_PATH_COUNT": -397,
2995
3062
  "telBAD_PUBLIC_KEY": -396,
@@ -3007,6 +3074,7 @@
3007
3074
  "telNO_DST_PARTIAL": -393,
3008
3075
  "telREQUIRES_NETWORK_ID": -385,
3009
3076
  "telWRONG_NETWORK": -386,
3077
+
3010
3078
  "temARRAY_EMPTY": -253,
3011
3079
  "temARRAY_TOO_LARGE": -252,
3012
3080
  "temBAD_AMM_TOKENS": -261,
@@ -3056,6 +3124,7 @@
3056
3124
  "temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -255,
3057
3125
  "temXCHAIN_BRIDGE_NONDOOR_OWNER": -257,
3058
3126
  "temXCHAIN_EQUAL_DOOR_ACCOUNTS": -260,
3127
+
3059
3128
  "terFUNDS_SPENT": -98,
3060
3129
  "terINSUF_FEE_B": -97,
3061
3130
  "terLAST": -91,
@@ -3069,6 +3138,7 @@
3069
3138
  "terPRE_TICKET": -88,
3070
3139
  "terQUEUED": -89,
3071
3140
  "terRETRY": -99,
3141
+
3072
3142
  "tesSUCCESS": 0
3073
3143
  },
3074
3144
  "TRANSACTION_TYPES": {
@@ -3085,8 +3155,8 @@
3085
3155
  "CheckCash": 17,
3086
3156
  "CheckCreate": 16,
3087
3157
  "Clawback": 30,
3088
- "CredentialCreate": 58,
3089
3158
  "CredentialAccept": 59,
3159
+ "CredentialCreate": 58,
3090
3160
  "CredentialDelete": 60,
3091
3161
  "DIDDelete": 50,
3092
3162
  "DIDSet": 49,
@@ -3115,8 +3185,8 @@
3115
3185
  "PaymentChannelClaim": 15,
3116
3186
  "PaymentChannelCreate": 13,
3117
3187
  "PaymentChannelFund": 14,
3118
- "PermissionedDomainSet": 62,
3119
3188
  "PermissionedDomainDelete": 63,
3189
+ "PermissionedDomainSet": 62,
3120
3190
  "SetFee": 101,
3121
3191
  "SetRegularKey": 5,
3122
3192
  "SignerListSet": 12,
@@ -3146,6 +3216,7 @@
3146
3216
  "LedgerEntry": 10002,
3147
3217
  "Metadata": 10004,
3148
3218
  "NotPresent": 0,
3219
+ "Number": 9,
3149
3220
  "PathSet": 18,
3150
3221
  "STArray": 15,
3151
3222
  "STObject": 14,
@@ -22,8 +22,9 @@ declare class XrplDefinitionsBase {
22
22
  dataTypes: Record<string, typeof SerializedType>;
23
23
  /**
24
24
  * Present rippled types in a typed and updatable format.
25
- * For an example of the input format see `definitions.json`
26
- * To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen
25
+ * For an example of the input format see `definitions.json`.
26
+ * To generate a new definitions file from rippled source code, use the tool at
27
+ * `packages/ripple-binary-codec/tools/generateDefinitions.js`.
27
28
  *
28
29
  * See the definitions.test.js file for examples of how to create your own updated definitions.json.
29
30
  *
@@ -14,8 +14,9 @@ const constants_1 = require("./constants");
14
14
  class XrplDefinitionsBase {
15
15
  /**
16
16
  * Present rippled types in a typed and updatable format.
17
- * For an example of the input format see `definitions.json`
18
- * To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen
17
+ * For an example of the input format see `definitions.json`.
18
+ * To generate a new definitions file from rippled source code, use the tool at
19
+ * `packages/ripple-binary-codec/tools/generateDefinitions.js`.
19
20
  *
20
21
  * See the definitions.test.js file for examples of how to create your own updated definitions.json.
21
22
  *
@@ -1 +1 @@
1
- {"version":3,"file":"xrpl-definitions-base.js","sourceRoot":"","sources":["../../src/enums/xrpl-definitions-base.ts"],"names":[],"mappings":";;;AACA,mCAA4C;AA2G1C,sFA3GO,aAAK,OA2GP;AACL,4FA5Gc,mBAAW,OA4Gd;AA3Gb,mCAA+D;AAuG7D,4FAvGkB,mBAAW,OAuGlB;AAtGb,2CAKoB;AAUpB;;;GAGG;AACH,MAAM,mBAAmB;IAgBvB;;;;;;;;;;OAUG;IACH,YACE,KAAsB,EACtB,KAA4C;QAE5C,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAW,CAAC,KAAK,CAAC,KAAK,EAAE,sBAAU,CAAC,CAAA;QACpD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAW,CACpC,KAAK,CAAC,kBAAkB,EACxB,8BAAkB,CACnB,CAAA;QACD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAW,CACpC,KAAK,CAAC,iBAAiB,EACvB,kCAAsB,CACvB,CAAA;QACD,IAAI,CAAC,iBAAiB,GAAG,IAAI,mBAAW,CACtC,KAAK,CAAC,mBAAmB,EACzB,oCAAwB,CACzB,CAAA;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,mBAAW,CAC1B,KAAK,CAAC,MAAoC,EAC1C,KAAK,CAAC,KAAK,CACZ,CAAA;QACD,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC;aAC5D,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC;aACrC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAA;QAE9B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAA,CAAC,+BAA+B;QACnD,IAAI,CAAC,cAAc,CAAC,KA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AC,mBAAmB,CAAC,CAAC,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAA;QACvE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAA;IACrE,CAAC;IAEM,kBAAkB;QACvB,OAAO,IAAI,CAAC,SAAS,CAAA;IACvB,CAAC;CACF;AAIC,kDAAmB"}
@@ -9,7 +9,8 @@ export declare class XrplDefinitions extends XrplDefinitionsBase {
9
9
  /**
10
10
  * Present rippled types in a typed and updatable format.
11
11
  * For an example of the input format see `definitions.json`
12
- * To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen
12
+ * To generate a new definitions file from rippled source code, use the tool at
13
+ * `packages/ripple-binary-codec/tools/generateDefinitions.js`.
13
14
  *
14
15
  * See the definitions.test.js file for examples of how to create your own updated definitions.json.
15
16
  *
@@ -12,7 +12,8 @@ class XrplDefinitions extends xrpl_definitions_base_1.XrplDefinitionsBase {
12
12
  /**
13
13
  * Present rippled types in a typed and updatable format.
14
14
  * For an example of the input format see `definitions.json`
15
- * To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen
15
+ * To generate a new definitions file from rippled source code, use the tool at
16
+ * `packages/ripple-binary-codec/tools/generateDefinitions.js`.
16
17
  *
17
18
  * See the definitions.test.js file for examples of how to create your own updated definitions.json.
18
19
  *
@@ -1 +1 @@
1
- {"version":3,"file":"xrpl-definitions.js","sourceRoot":"","sources":["../../src/enums/xrpl-definitions.ts"],"names":[],"mappings":";;;AAAA,mEAGgC;AAChC,oCAAoC;AAGpC;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,2CAAmB;IACtD;;;;;;;;;;OAUG;IACH,YACE,KAAsB,EACtB,eAAuD;QAEvD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,iBAAS,EAAE,eAAe,CAAC,CAAA;QAC3D,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;IACrB,CAAC;CACF;AAnBD,0CAmBC"}
1
+ {"version":3,"file":"xrpl-definitions.js","sourceRoot":"","sources":["../../src/enums/xrpl-definitions.ts"],"names":[],"mappings":";;;AAAA,mEAGgC;AAChC,oCAAoC;AAGpC;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,2CAAmB;IACtD;;;;;;;;;;;OAWG;IACH,YACE,KAAsB,EACtB,eAAuD;QAEvD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,iBAAS,EAAE,eAAe,CAAC,CAAA;QAC3D,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;IACrB,CAAC;CACF;AApBD,0CAoBC"}