@btc-vision/transaction 1.0.83 → 1.0.85
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/browser/_version.d.ts +1 -1
- package/browser/index.js +1 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/metadata/tokens.js +5 -5
- package/build/utxo/OPNetLimitedProvider.js +1 -1
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/metadata/tokens.ts +5 -5
- package/src/utxo/OPNetLimitedProvider.ts +1 -1
package/build/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.0.
|
|
1
|
+
export declare const version = "1.0.85";
|
package/build/_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.0.
|
|
1
|
+
export const version = '1.0.85';
|
package/build/metadata/tokens.js
CHANGED
|
@@ -9,11 +9,11 @@ export const POOL_ADDRESS_TESTNET = 'tb1q6a7yw353hjmresphupytw5vczpqxtg4yrupayk'
|
|
|
9
9
|
export const WBTC_ADDRESS_TESTNET = 'tb1qp28xna6pv47x6wflcplhu0a9hkld5shtvjx6xv';
|
|
10
10
|
export const MOTO_ADDRESS_TESTNET = 'tb1q4tyhf8hpu04qjj3qaag20knun0spctultxzakw';
|
|
11
11
|
export const ROUTER_ADDRESS_TESTNET = 'tb1qnh9mj95nnej25dwhjvvsppwmdm0myhxv7tllgt';
|
|
12
|
-
export const FACTORY_ADDRESS_FRACTAL = '
|
|
13
|
-
export const POOL_ADDRESS_FRACTAL = '
|
|
14
|
-
export const WBTC_ADDRESS_FRACTAL = '
|
|
15
|
-
export const MOTO_ADDRESS_FRACTAL = '
|
|
16
|
-
export const ROUTER_ADDRESS_FRACTAL = '
|
|
12
|
+
export const FACTORY_ADDRESS_FRACTAL = 'bc1qr4g85824m58wu0zffjtnf56n425fp0e8azhc7q';
|
|
13
|
+
export const POOL_ADDRESS_FRACTAL = 'bc1qv55cht4zzlt29ea7vdgwsedsn63a2sxtkgpv6h';
|
|
14
|
+
export const WBTC_ADDRESS_FRACTAL = 'bc1qdtzlucslvrvu4useyh9r69supqrw3w4xn9t4yv';
|
|
15
|
+
export const MOTO_ADDRESS_FRACTAL = 'bc1qfzq6w5uvgg5489egv0lj4shlqx4dagqt0ewdnu';
|
|
16
|
+
export const ROUTER_ADDRESS_FRACTAL = 'bc1q9w2zvmkzlezt2fu34u57y9vuw6rll5sp2090kn';
|
|
17
17
|
export var OPNetNetwork;
|
|
18
18
|
(function (OPNetNetwork) {
|
|
19
19
|
OPNetNetwork["Mainnet"] = "mainnet";
|
|
@@ -15,7 +15,7 @@ export class OPNetLimitedProvider {
|
|
|
15
15
|
'Content-Type': 'application/json',
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
|
-
const url = `${this.opnetAPIUrl}/api/v1/${this.utxoPath}?address=${settings.address}&
|
|
18
|
+
const url = `${this.opnetAPIUrl}/api/v1/${this.utxoPath}?address=${settings.address}&optimize=${settings.optimized ?? false}`;
|
|
19
19
|
const resp = await fetch(url, params);
|
|
20
20
|
if (!resp.ok) {
|
|
21
21
|
throw new Error(`Failed to fetch UTXO data: ${resp.statusText}`);
|
package/package.json
CHANGED
package/src/_version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.0.
|
|
1
|
+
export const version = '1.0.85';
|
package/src/metadata/tokens.ts
CHANGED
|
@@ -16,11 +16,11 @@ export const MOTO_ADDRESS_TESTNET: Address = 'tb1q4tyhf8hpu04qjj3qaag20knun0spct
|
|
|
16
16
|
export const ROUTER_ADDRESS_TESTNET: Address = 'tb1qnh9mj95nnej25dwhjvvsppwmdm0myhxv7tllgt';
|
|
17
17
|
|
|
18
18
|
// Addresses Fractal
|
|
19
|
-
export const FACTORY_ADDRESS_FRACTAL: Address = '
|
|
20
|
-
export const POOL_ADDRESS_FRACTAL: Address = '
|
|
21
|
-
export const WBTC_ADDRESS_FRACTAL: Address = '
|
|
22
|
-
export const MOTO_ADDRESS_FRACTAL: Address = '
|
|
23
|
-
export const ROUTER_ADDRESS_FRACTAL: Address = '
|
|
19
|
+
export const FACTORY_ADDRESS_FRACTAL: Address = 'bc1qr4g85824m58wu0zffjtnf56n425fp0e8azhc7q';
|
|
20
|
+
export const POOL_ADDRESS_FRACTAL: Address = 'bc1qv55cht4zzlt29ea7vdgwsedsn63a2sxtkgpv6h';
|
|
21
|
+
export const WBTC_ADDRESS_FRACTAL: Address = 'bc1qdtzlucslvrvu4useyh9r69supqrw3w4xn9t4yv';
|
|
22
|
+
export const MOTO_ADDRESS_FRACTAL: Address = 'bc1qfzq6w5uvgg5489egv0lj4shlqx4dagqt0ewdnu';
|
|
23
|
+
export const ROUTER_ADDRESS_FRACTAL: Address = 'bc1q9w2zvmkzlezt2fu34u57y9vuw6rll5sp2090kn';
|
|
24
24
|
|
|
25
25
|
export enum OPNetNetwork {
|
|
26
26
|
Mainnet = 'mainnet',
|
|
@@ -29,7 +29,7 @@ export class OPNetLimitedProvider {
|
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const url: string = `${this.opnetAPIUrl}/api/v1/${this.utxoPath}?address=${settings.address}&
|
|
32
|
+
const url: string = `${this.opnetAPIUrl}/api/v1/${this.utxoPath}?address=${settings.address}&optimize=${settings.optimized ?? false}`;
|
|
33
33
|
const resp: Response = await fetch(url, params);
|
|
34
34
|
|
|
35
35
|
if (!resp.ok) {
|