@chainstream-io/sdk 0.1.18 → 0.1.19
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/README.md +2 -2
- package/dist/{index-BFUtqtnx.d.ts → index-D2eCYuwV.d.ts} +44 -5
- package/dist/{index-BOKG4I08.d.cts → index-QdKN_FKu.d.cts} +44 -5
- package/dist/index.cjs +266 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +266 -17
- package/dist/index.mjs.map +1 -1
- package/dist/stream/index.cjs +265 -16
- package/dist/stream/index.cjs.map +1 -1
- package/dist/stream/index.d.cts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.mjs +265 -16
- package/dist/stream/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { q as DexAggregatorOptions, r as DexClient, p as DexRequestContext, L as LIB_VERSION, P as PostOptions, o as TokenProvider } from './index-
|
|
1
|
+
export { q as DexAggregatorOptions, r as DexClient, p as DexRequestContext, L as LIB_VERSION, P as PostOptions, o as TokenProvider } from './index-QdKN_FKu.cjs';
|
|
2
2
|
import './WatchlistApi-18jD3YH5.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { q as DexAggregatorOptions, r as DexClient, p as DexRequestContext, L as LIB_VERSION, P as PostOptions, o as TokenProvider } from './index-
|
|
1
|
+
export { q as DexAggregatorOptions, r as DexClient, p as DexRequestContext, L as LIB_VERSION, P as PostOptions, o as TokenProvider } from './index-D2eCYuwV.js';
|
|
2
2
|
import './WatchlistApi-18jD3YH5.js';
|
package/dist/index.mjs
CHANGED
|
@@ -99,12 +99,54 @@ var CEL_FIELD_MAPPINGS = {
|
|
|
99
99
|
"subscribeTokenHolders": {
|
|
100
100
|
"tokenAddress": "a",
|
|
101
101
|
"holders": "h",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
102
|
+
"top100HoldersAmount": "t100a",
|
|
103
|
+
"top50HoldersAmount": "t50a",
|
|
104
|
+
"top10HoldersAmount": "t10a",
|
|
104
105
|
"top100Holders": "t100h",
|
|
106
|
+
"top50Holders": "t50h",
|
|
105
107
|
"top10Holders": "t10h",
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
+
"top100HoldersRatio": "t100r",
|
|
109
|
+
"top50HoldersRatio": "t50r",
|
|
110
|
+
"top10HoldersRatio": "t10r",
|
|
111
|
+
"creatorsHolders": "ch",
|
|
112
|
+
"creatorsAmount": "ca",
|
|
113
|
+
"creatorsRatio": "cr",
|
|
114
|
+
"balanceTagFreshHolders": "btfh",
|
|
115
|
+
"balanceTagFreshAmount": "btfa",
|
|
116
|
+
"balanceTagFreshRatio": "btfr",
|
|
117
|
+
"balanceTagSandwichHolders": "btsh",
|
|
118
|
+
"balanceTagSandwichAmount": "btsa",
|
|
119
|
+
"balanceTagSandwichRatio": "btsr",
|
|
120
|
+
"balanceTagBundleHolders": "btbh",
|
|
121
|
+
"balanceTagBundleAmount": "btba",
|
|
122
|
+
"balanceTagBundleRatio": "btbr",
|
|
123
|
+
"balanceTagSniperHolders": "btsnh",
|
|
124
|
+
"balanceTagSniperAmount": "btsna",
|
|
125
|
+
"balanceTagSniperRatio": "btsnr",
|
|
126
|
+
"balanceTagDevHolders": "btdh",
|
|
127
|
+
"balanceTagDevAmount": "btda",
|
|
128
|
+
"balanceTagDevRatio": "btdr",
|
|
129
|
+
"balanceTagProHolders": "btph",
|
|
130
|
+
"balanceTagProAmount": "btpa",
|
|
131
|
+
"balanceTagProRatio": "btpr",
|
|
132
|
+
"balanceTagInsiderHolders": "btih",
|
|
133
|
+
"balanceTagInsiderAmount": "btia",
|
|
134
|
+
"balanceTagInsiderRatio": "btir",
|
|
135
|
+
"balanceTagSmartHolders": "btsmh",
|
|
136
|
+
"balanceTagSmartAmount": "btsma",
|
|
137
|
+
"balanceTagSmartRatio": "btsmr",
|
|
138
|
+
"balanceTagKolHolders": "btkh",
|
|
139
|
+
"balanceTagKolAmount": "btka",
|
|
140
|
+
"balanceTagKolRatio": "btkr",
|
|
141
|
+
"balanceTagPhishingHolders": "btphh",
|
|
142
|
+
"balanceTagPhishingAmount": "btpha",
|
|
143
|
+
"balanceTagPhishingRatio": "btphr",
|
|
144
|
+
"balanceTagBluechipHolders": "btblh",
|
|
145
|
+
"balanceTagBluechipAmount": "btbla",
|
|
146
|
+
"balanceTagBluechipRatio": "btblr",
|
|
147
|
+
"balanceTagRatHolders": "btrh",
|
|
148
|
+
"balanceTagRatAmount": "btra",
|
|
149
|
+
"balanceTagRatRatio": "btrr",
|
|
108
150
|
"timestamp": "ts"
|
|
109
151
|
},
|
|
110
152
|
// New token subscription fields
|
|
@@ -438,15 +480,54 @@ var StreamApi = class {
|
|
|
438
480
|
return this.subscribe(channel, (data) => callback({
|
|
439
481
|
tokenAddress: data.a,
|
|
440
482
|
holders: data.h,
|
|
441
|
-
|
|
442
|
-
|
|
483
|
+
top100HoldersAmount: this.formatScientificNotation(data.t100a),
|
|
484
|
+
top50HoldersAmount: this.formatScientificNotation(data.t50a),
|
|
485
|
+
top10HoldersAmount: this.formatScientificNotation(data.t10a),
|
|
443
486
|
top100Holders: data.t100h,
|
|
487
|
+
top50Holders: data.t50h,
|
|
444
488
|
top10Holders: data.t10h,
|
|
445
|
-
|
|
446
|
-
|
|
489
|
+
top100HoldersRatio: this.formatScientificNotation(data.t100r),
|
|
490
|
+
top50HoldersRatio: this.formatScientificNotation(data.t50r),
|
|
491
|
+
top10HoldersRatio: this.formatScientificNotation(data.t10r),
|
|
447
492
|
creatorsHolders: data.ch,
|
|
448
493
|
creatorsAmount: this.formatScientificNotation(data.ca),
|
|
449
494
|
creatorsRatio: this.formatScientificNotation(data.cr),
|
|
495
|
+
balanceTagFreshHolders: data.btfh,
|
|
496
|
+
balanceTagFreshAmount: this.formatScientificNotation(data.btfa),
|
|
497
|
+
balanceTagFreshRatio: this.formatScientificNotation(data.btfr),
|
|
498
|
+
balanceTagSandwichHolders: data.btsh,
|
|
499
|
+
balanceTagSandwichAmount: this.formatScientificNotation(data.btsa),
|
|
500
|
+
balanceTagSandwichRatio: this.formatScientificNotation(data.btsr),
|
|
501
|
+
balanceTagBundleHolders: data.btbh,
|
|
502
|
+
balanceTagBundleAmount: this.formatScientificNotation(data.btba),
|
|
503
|
+
balanceTagBundleRatio: this.formatScientificNotation(data.btbr),
|
|
504
|
+
balanceTagSniperHolders: data.btsnh,
|
|
505
|
+
balanceTagSniperAmount: this.formatScientificNotation(data.btsna),
|
|
506
|
+
balanceTagSniperRatio: this.formatScientificNotation(data.btsnr),
|
|
507
|
+
balanceTagDevHolders: data.btdh,
|
|
508
|
+
balanceTagDevAmount: this.formatScientificNotation(data.btda),
|
|
509
|
+
balanceTagDevRatio: this.formatScientificNotation(data.btdr),
|
|
510
|
+
balanceTagProHolders: data.btph,
|
|
511
|
+
balanceTagProAmount: this.formatScientificNotation(data.btpa),
|
|
512
|
+
balanceTagProRatio: this.formatScientificNotation(data.btpr),
|
|
513
|
+
balanceTagInsiderHolders: data.btih,
|
|
514
|
+
balanceTagInsiderAmount: this.formatScientificNotation(data.btia),
|
|
515
|
+
balanceTagInsiderRatio: this.formatScientificNotation(data.btir),
|
|
516
|
+
balanceTagSmartHolders: data.btsmh,
|
|
517
|
+
balanceTagSmartAmount: this.formatScientificNotation(data.btsma),
|
|
518
|
+
balanceTagSmartRatio: this.formatScientificNotation(data.btsmr),
|
|
519
|
+
balanceTagKolHolders: data.btkh,
|
|
520
|
+
balanceTagKolAmount: this.formatScientificNotation(data.btka),
|
|
521
|
+
balanceTagKolRatio: this.formatScientificNotation(data.btkr),
|
|
522
|
+
balanceTagPhishingHolders: data.btphh,
|
|
523
|
+
balanceTagPhishingAmount: this.formatScientificNotation(data.btpha),
|
|
524
|
+
balanceTagPhishingRatio: this.formatScientificNotation(data.btphr),
|
|
525
|
+
balanceTagBluechipHolders: data.btblh,
|
|
526
|
+
balanceTagBluechipAmount: this.formatScientificNotation(data.btbla),
|
|
527
|
+
balanceTagBluechipRatio: this.formatScientificNotation(data.btblr),
|
|
528
|
+
balanceTagRatHolders: data.btrh,
|
|
529
|
+
balanceTagRatAmount: this.formatScientificNotation(data.btra),
|
|
530
|
+
balanceTagRatRatio: this.formatScientificNotation(data.btrr),
|
|
450
531
|
timestamp: data.ts
|
|
451
532
|
}), filter, "subscribeTokenHolders");
|
|
452
533
|
}
|
|
@@ -735,22 +816,148 @@ var StreamApi = class {
|
|
|
735
816
|
result.holder.holders = item.h.h;
|
|
736
817
|
}
|
|
737
818
|
if (item.h.t100a) {
|
|
738
|
-
result.holder.
|
|
819
|
+
result.holder.top100HoldersAmount = this.formatScientificNotation(item.h.t100a);
|
|
820
|
+
}
|
|
821
|
+
if (item.h.t50a) {
|
|
822
|
+
result.holder.top50HoldersAmount = this.formatScientificNotation(item.h.t50a);
|
|
739
823
|
}
|
|
740
824
|
if (item.h.t10a) {
|
|
741
|
-
result.holder.
|
|
825
|
+
result.holder.top10HoldersAmount = this.formatScientificNotation(item.h.t10a);
|
|
742
826
|
}
|
|
743
827
|
if (item.h.t100h) {
|
|
744
828
|
result.holder.top100Holders = item.h.t100h;
|
|
745
829
|
}
|
|
830
|
+
if (item.h.t50h) {
|
|
831
|
+
result.holder.top50Holders = item.h.t50h;
|
|
832
|
+
}
|
|
746
833
|
if (item.h.t10h) {
|
|
747
834
|
result.holder.top10Holders = item.h.t10h;
|
|
748
835
|
}
|
|
749
836
|
if (item.h.t100r) {
|
|
750
|
-
result.holder.
|
|
837
|
+
result.holder.top100HoldersRatio = this.formatScientificNotation(item.h.t100r);
|
|
838
|
+
}
|
|
839
|
+
if (item.h.t50r) {
|
|
840
|
+
result.holder.top50HoldersRatio = this.formatScientificNotation(item.h.t50r);
|
|
751
841
|
}
|
|
752
842
|
if (item.h.t10r) {
|
|
753
|
-
result.holder.
|
|
843
|
+
result.holder.top10HoldersRatio = this.formatScientificNotation(item.h.t10r);
|
|
844
|
+
}
|
|
845
|
+
if (item.h.ch) {
|
|
846
|
+
result.holder.creatorsHolders = item.h.ch;
|
|
847
|
+
}
|
|
848
|
+
if (item.h.ca) {
|
|
849
|
+
result.holder.creatorsAmount = this.formatScientificNotation(item.h.ca);
|
|
850
|
+
}
|
|
851
|
+
if (item.h.cr) {
|
|
852
|
+
result.holder.creatorsRatio = this.formatScientificNotation(item.h.cr);
|
|
853
|
+
}
|
|
854
|
+
if (item.h.btfh) {
|
|
855
|
+
result.holder.balanceTagFreshHolders = item.h.btfh;
|
|
856
|
+
}
|
|
857
|
+
if (item.h.btfa) {
|
|
858
|
+
result.holder.balanceTagFreshAmount = this.formatScientificNotation(item.h.btfa);
|
|
859
|
+
}
|
|
860
|
+
if (item.h.btfr) {
|
|
861
|
+
result.holder.balanceTagFreshRatio = this.formatScientificNotation(item.h.btfr);
|
|
862
|
+
}
|
|
863
|
+
if (item.h.btsh) {
|
|
864
|
+
result.holder.balanceTagSandwichHolders = item.h.btsh;
|
|
865
|
+
}
|
|
866
|
+
if (item.h.btsa) {
|
|
867
|
+
result.holder.balanceTagSandwichAmount = this.formatScientificNotation(item.h.btsa);
|
|
868
|
+
}
|
|
869
|
+
if (item.h.btsr) {
|
|
870
|
+
result.holder.balanceTagSandwichRatio = this.formatScientificNotation(item.h.btsr);
|
|
871
|
+
}
|
|
872
|
+
if (item.h.btbh) {
|
|
873
|
+
result.holder.balanceTagBundleHolders = item.h.btbh;
|
|
874
|
+
}
|
|
875
|
+
if (item.h.btba) {
|
|
876
|
+
result.holder.balanceTagBundleAmount = this.formatScientificNotation(item.h.btba);
|
|
877
|
+
}
|
|
878
|
+
if (item.h.btbr) {
|
|
879
|
+
result.holder.balanceTagBundleRatio = this.formatScientificNotation(item.h.btbr);
|
|
880
|
+
}
|
|
881
|
+
if (item.h.btsnh) {
|
|
882
|
+
result.holder.balanceTagSniperHolders = item.h.btsnh;
|
|
883
|
+
}
|
|
884
|
+
if (item.h.btsna) {
|
|
885
|
+
result.holder.balanceTagSniperAmount = this.formatScientificNotation(item.h.btsna);
|
|
886
|
+
}
|
|
887
|
+
if (item.h.btsnr) {
|
|
888
|
+
result.holder.balanceTagSniperRatio = this.formatScientificNotation(item.h.btsnr);
|
|
889
|
+
}
|
|
890
|
+
if (item.h.btdh) {
|
|
891
|
+
result.holder.balanceTagDevHolders = item.h.btdh;
|
|
892
|
+
}
|
|
893
|
+
if (item.h.btda) {
|
|
894
|
+
result.holder.balanceTagDevAmount = this.formatScientificNotation(item.h.btda);
|
|
895
|
+
}
|
|
896
|
+
if (item.h.btdr) {
|
|
897
|
+
result.holder.balanceTagDevRatio = this.formatScientificNotation(item.h.btdr);
|
|
898
|
+
}
|
|
899
|
+
if (item.h.btph) {
|
|
900
|
+
result.holder.balanceTagProHolders = item.h.btph;
|
|
901
|
+
}
|
|
902
|
+
if (item.h.btpa) {
|
|
903
|
+
result.holder.balanceTagProAmount = this.formatScientificNotation(item.h.btpa);
|
|
904
|
+
}
|
|
905
|
+
if (item.h.btpr) {
|
|
906
|
+
result.holder.balanceTagProRatio = this.formatScientificNotation(item.h.btpr);
|
|
907
|
+
}
|
|
908
|
+
if (item.h.btih) {
|
|
909
|
+
result.holder.balanceTagInsiderHolders = item.h.btih;
|
|
910
|
+
}
|
|
911
|
+
if (item.h.btia) {
|
|
912
|
+
result.holder.balanceTagInsiderAmount = this.formatScientificNotation(item.h.btia);
|
|
913
|
+
}
|
|
914
|
+
if (item.h.btir) {
|
|
915
|
+
result.holder.balanceTagInsiderRatio = this.formatScientificNotation(item.h.btir);
|
|
916
|
+
}
|
|
917
|
+
if (item.h.btsmh) {
|
|
918
|
+
result.holder.balanceTagSmartHolders = item.h.btsmh;
|
|
919
|
+
}
|
|
920
|
+
if (item.h.btsma) {
|
|
921
|
+
result.holder.balanceTagSmartAmount = this.formatScientificNotation(item.h.btsma);
|
|
922
|
+
}
|
|
923
|
+
if (item.h.btsmr) {
|
|
924
|
+
result.holder.balanceTagSmartRatio = this.formatScientificNotation(item.h.btsmr);
|
|
925
|
+
}
|
|
926
|
+
if (item.h.btkh) {
|
|
927
|
+
result.holder.balanceTagKolHolders = item.h.btkh;
|
|
928
|
+
}
|
|
929
|
+
if (item.h.btka) {
|
|
930
|
+
result.holder.balanceTagKolAmount = this.formatScientificNotation(item.h.btka);
|
|
931
|
+
}
|
|
932
|
+
if (item.h.btkr) {
|
|
933
|
+
result.holder.balanceTagKolRatio = this.formatScientificNotation(item.h.btkr);
|
|
934
|
+
}
|
|
935
|
+
if (item.h.btphh) {
|
|
936
|
+
result.holder.balanceTagPhishingHolders = item.h.btphh;
|
|
937
|
+
}
|
|
938
|
+
if (item.h.btpha) {
|
|
939
|
+
result.holder.balanceTagPhishingAmount = this.formatScientificNotation(item.h.btpha);
|
|
940
|
+
}
|
|
941
|
+
if (item.h.btphr) {
|
|
942
|
+
result.holder.balanceTagPhishingRatio = this.formatScientificNotation(item.h.btphr);
|
|
943
|
+
}
|
|
944
|
+
if (item.h.btblh) {
|
|
945
|
+
result.holder.balanceTagBluechipHolders = item.h.btblh;
|
|
946
|
+
}
|
|
947
|
+
if (item.h.btbla) {
|
|
948
|
+
result.holder.balanceTagBluechipAmount = this.formatScientificNotation(item.h.btbla);
|
|
949
|
+
}
|
|
950
|
+
if (item.h.btblr) {
|
|
951
|
+
result.holder.balanceTagBluechipRatio = this.formatScientificNotation(item.h.btblr);
|
|
952
|
+
}
|
|
953
|
+
if (item.h.btrh) {
|
|
954
|
+
result.holder.balanceTagRatHolders = item.h.btrh;
|
|
955
|
+
}
|
|
956
|
+
if (item.h.btra) {
|
|
957
|
+
result.holder.balanceTagRatAmount = this.formatScientificNotation(item.h.btra);
|
|
958
|
+
}
|
|
959
|
+
if (item.h.btrr) {
|
|
960
|
+
result.holder.balanceTagRatRatio = this.formatScientificNotation(item.h.btrr);
|
|
754
961
|
}
|
|
755
962
|
}
|
|
756
963
|
if (item.s) {
|
|
@@ -1063,12 +1270,54 @@ var StreamApi = class {
|
|
|
1063
1270
|
(it) => ({
|
|
1064
1271
|
tokenAddress: it.a,
|
|
1065
1272
|
holders: it.h,
|
|
1066
|
-
|
|
1067
|
-
|
|
1273
|
+
top100HoldersAmount: this.formatScientificNotation(it.t100a),
|
|
1274
|
+
top50HoldersAmount: this.formatScientificNotation(it.t50a),
|
|
1275
|
+
top10HoldersAmount: this.formatScientificNotation(it.t10a),
|
|
1068
1276
|
top100Holders: it.t100h,
|
|
1277
|
+
top50Holders: it.t50h,
|
|
1069
1278
|
top10Holders: it.t10h,
|
|
1070
|
-
|
|
1071
|
-
|
|
1279
|
+
top100HoldersRatio: this.formatScientificNotation(it.t100r),
|
|
1280
|
+
top50HoldersRatio: this.formatScientificNotation(it.t50r),
|
|
1281
|
+
top10HoldersRatio: this.formatScientificNotation(it.t10r),
|
|
1282
|
+
creatorsHolders: it.ch,
|
|
1283
|
+
creatorsAmount: this.formatScientificNotation(it.ca),
|
|
1284
|
+
creatorsRatio: this.formatScientificNotation(it.cr),
|
|
1285
|
+
balanceTagFreshHolders: it.btfh,
|
|
1286
|
+
balanceTagFreshAmount: this.formatScientificNotation(it.btfa),
|
|
1287
|
+
balanceTagFreshRatio: this.formatScientificNotation(it.btfr),
|
|
1288
|
+
balanceTagSandwichHolders: it.btsh,
|
|
1289
|
+
balanceTagSandwichAmount: this.formatScientificNotation(it.btsa),
|
|
1290
|
+
balanceTagSandwichRatio: this.formatScientificNotation(it.btsr),
|
|
1291
|
+
balanceTagBundleHolders: it.btbh,
|
|
1292
|
+
balanceTagBundleAmount: this.formatScientificNotation(it.btba),
|
|
1293
|
+
balanceTagBundleRatio: this.formatScientificNotation(it.btbr),
|
|
1294
|
+
balanceTagSniperHolders: it.btsnh,
|
|
1295
|
+
balanceTagSniperAmount: this.formatScientificNotation(it.btsna),
|
|
1296
|
+
balanceTagSniperRatio: this.formatScientificNotation(it.btsnr),
|
|
1297
|
+
balanceTagDevHolders: it.btdh,
|
|
1298
|
+
balanceTagDevAmount: this.formatScientificNotation(it.btda),
|
|
1299
|
+
balanceTagDevRatio: this.formatScientificNotation(it.btdr),
|
|
1300
|
+
balanceTagProHolders: it.btph,
|
|
1301
|
+
balanceTagProAmount: this.formatScientificNotation(it.btpa),
|
|
1302
|
+
balanceTagProRatio: this.formatScientificNotation(it.btpr),
|
|
1303
|
+
balanceTagInsiderHolders: it.btih,
|
|
1304
|
+
balanceTagInsiderAmount: this.formatScientificNotation(it.btia),
|
|
1305
|
+
balanceTagInsiderRatio: this.formatScientificNotation(it.btir),
|
|
1306
|
+
balanceTagSmartHolders: it.btsmh,
|
|
1307
|
+
balanceTagSmartAmount: this.formatScientificNotation(it.btsma),
|
|
1308
|
+
balanceTagSmartRatio: this.formatScientificNotation(it.btsmr),
|
|
1309
|
+
balanceTagKolHolders: it.btkh,
|
|
1310
|
+
balanceTagKolAmount: this.formatScientificNotation(it.btka),
|
|
1311
|
+
balanceTagKolRatio: this.formatScientificNotation(it.btkr),
|
|
1312
|
+
balanceTagPhishingHolders: it.btphh,
|
|
1313
|
+
balanceTagPhishingAmount: this.formatScientificNotation(it.btpha),
|
|
1314
|
+
balanceTagPhishingRatio: this.formatScientificNotation(it.btphr),
|
|
1315
|
+
balanceTagBluechipHolders: it.btblh,
|
|
1316
|
+
balanceTagBluechipAmount: this.formatScientificNotation(it.btbla),
|
|
1317
|
+
balanceTagBluechipRatio: this.formatScientificNotation(it.btblr),
|
|
1318
|
+
balanceTagRatHolders: it.btrh,
|
|
1319
|
+
balanceTagRatAmount: this.formatScientificNotation(it.btra),
|
|
1320
|
+
balanceTagRatRatio: this.formatScientificNotation(it.btrr),
|
|
1072
1321
|
timestamp: it.ts
|
|
1073
1322
|
})
|
|
1074
1323
|
)
|
|
@@ -7888,7 +8137,7 @@ var WatchlistApi = class extends BaseAPI {
|
|
|
7888
8137
|
|
|
7889
8138
|
// src/index.ts
|
|
7890
8139
|
import { EventSourcePolyfill } from "event-source-polyfill";
|
|
7891
|
-
var LIB_VERSION = "0.1.
|
|
8140
|
+
var LIB_VERSION = "0.1.19";
|
|
7892
8141
|
var UserAgentMiddleware = class {
|
|
7893
8142
|
async pre(context) {
|
|
7894
8143
|
if (!context.init.headers) {
|