@dstorage-tech/dstorage-sdk 0.0.4
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/LICENSE +21 -0
- package/README.md +530 -0
- package/dist/KeypairEncryptionAdapter-AE75YC4W-AOWNSH2M.mjs +9 -0
- package/dist/KeypairEncryptionAdapter-AE75YC4W-BAVHRNNJ.mjs +1 -0
- package/dist/KeypairEncryptionAdapter-AE75YC4W-BEYO4RUO.mjs +1 -0
- package/dist/KeypairEncryptionAdapter-AE75YC4W-VAOH6AAL.mjs +9 -0
- package/dist/KeypairEncryptionAdapter-XUKCLRFU-6ERIZN2M.mjs +1 -0
- package/dist/KeypairEncryptionAdapter-XUKCLRFU-AYDAZ2TZ.mjs +9 -0
- package/dist/KeypairEncryptionAdapter-XUKCLRFU-ERPYK5S4.mjs +8 -0
- package/dist/MnemonicEncryptionAdapter-J6IE5OKA-6DFVUVD6.mjs +1 -0
- package/dist/MnemonicEncryptionAdapter-J6IE5OKA-O5AJPX42.mjs +1 -0
- package/dist/MnemonicEncryptionAdapter-J6IE5OKA-SI6TBLTQ.mjs +9 -0
- package/dist/MnemonicEncryptionAdapter-J6IE5OKA-WEPFOTSJ.mjs +9 -0
- package/dist/MnemonicEncryptionAdapter-RCHUETBP-DZPBGQG6.mjs +8 -0
- package/dist/MnemonicEncryptionAdapter-RCHUETBP-ELAMJMMO.mjs +1 -0
- package/dist/MnemonicEncryptionAdapter-RCHUETBP-M7NHGSHO.mjs +9 -0
- package/dist/PasswordEncryptionAdapter-CWOXUGR4-2YZ64B4A.mjs +1 -0
- package/dist/PasswordEncryptionAdapter-CWOXUGR4-DCEGC2NX.mjs +1 -0
- package/dist/PasswordEncryptionAdapter-CWOXUGR4-QEGGYPFJ.mjs +13 -0
- package/dist/PasswordEncryptionAdapter-CWOXUGR4-ZYUBUYUI.mjs +13 -0
- package/dist/PasswordEncryptionAdapter-ECHND672-3DEFO6FP.mjs +13 -0
- package/dist/PasswordEncryptionAdapter-ECHND672-MUTHAMZY.mjs +12 -0
- package/dist/PasswordEncryptionAdapter-ECHND672-XVBPHPPT.mjs +1 -0
- package/dist/browser.d.mts +2418 -0
- package/dist/browser.mjs +5175 -0
- package/dist/chunk-25I6ZXUC.mjs +9403 -0
- package/dist/chunk-4X5K43JF.mjs +62 -0
- package/dist/chunk-4YMF57VY.mjs +1 -0
- package/dist/chunk-5MZ7FPPY.mjs +1 -0
- package/dist/chunk-5P4EW2YL.mjs +1 -0
- package/dist/chunk-5QOKJEH3.mjs +8 -0
- package/dist/chunk-5RW7SGA7.mjs +1 -0
- package/dist/chunk-62RSKZ6T.mjs +118 -0
- package/dist/chunk-6IAQVMSM.mjs +102 -0
- package/dist/chunk-BBJCQFWP.mjs +275 -0
- package/dist/chunk-BWLEAAFW.mjs +2599 -0
- package/dist/chunk-EYF3263P.mjs +2049 -0
- package/dist/chunk-FJ7LSZOW.mjs +5537 -0
- package/dist/chunk-GUYENY5N.mjs +1 -0
- package/dist/chunk-HDD6SUU4.mjs +276 -0
- package/dist/chunk-JMPRZK5D.mjs +62 -0
- package/dist/chunk-L5QD6GHB.mjs +101 -0
- package/dist/chunk-O37NHERH.mjs +17 -0
- package/dist/chunk-OLGVVM5Y.mjs +102 -0
- package/dist/chunk-PKHRAYFD.mjs +1 -0
- package/dist/chunk-PLAOCKSS.mjs +101 -0
- package/dist/chunk-QKA2DCR6.mjs +118 -0
- package/dist/chunk-RPSRFFXN.mjs +275 -0
- package/dist/chunk-TESUOXRJ.mjs +1 -0
- package/dist/chunk-TMLXCRJU.mjs +1 -0
- package/dist/chunk-TNRKN4LB.mjs +1 -0
- package/dist/chunk-TSZ37JDY.mjs +2596 -0
- package/dist/chunk-U3MS6KMF.mjs +1 -0
- package/dist/chunk-UBALMYIY.mjs +2049 -0
- package/dist/chunk-UDYXMII2.mjs +121 -0
- package/dist/chunk-UJCSKKID.mjs +30 -0
- package/dist/chunk-UOOF4V2Y.mjs +1 -0
- package/dist/chunk-VDZ7F7MP.mjs +1329 -0
- package/dist/chunk-X4LEBNK6.mjs +276 -0
- package/dist/chunk-Z2TH6U4C.mjs +3 -0
- package/dist/chunk-Z6DUAI5B.mjs +121 -0
- package/dist/chunk-ZEPZ4QDD.mjs +1 -0
- package/dist/chunk-ZGUY5EIR.mjs +1 -0
- package/dist/cjs-RMZ3L2IO.mjs +5 -0
- package/dist/contract-api-AO4RGPLT-4HRCMSCE.mjs +279 -0
- package/dist/contract-api-AO4RGPLT-ADH6ZDKC.mjs +279 -0
- package/dist/contract-api-AO4RGPLT-ENC72WCG.mjs +280 -0
- package/dist/contract-api-AO4RGPLT-PAMIPEI3.mjs +1 -0
- package/dist/contract-api-AO4RGPLT-W3RSVP5A.mjs +1 -0
- package/dist/contract-api-AO4RGPLT-WENYDV6I.mjs +1 -0
- package/dist/contract-api-TJ7JPHZA-6FUBJ6DS.mjs +279 -0
- package/dist/contract-api-TJ7JPHZA-ZWP3EH7D.mjs +279 -0
- package/dist/contracts/dataregistry/managed/keys/removeReference.prover +0 -0
- package/dist/contracts/dataregistry/managed/keys/removeReference.verifier +0 -0
- package/dist/contracts/dataregistry/managed/keys/storeReference.prover +0 -0
- package/dist/contracts/dataregistry/managed/keys/storeReference.verifier +0 -0
- package/dist/contracts/dataregistry/managed/keys/updateReference.prover +0 -0
- package/dist/contracts/dataregistry/managed/keys/updateReference.verifier +0 -0
- package/dist/contracts/dataregistry/managed/zkir/removeReference.bzkir +0 -0
- package/dist/contracts/dataregistry/managed/zkir/removeReference.zkir +138 -0
- package/dist/contracts/dataregistry/managed/zkir/storeReference.bzkir +0 -0
- package/dist/contracts/dataregistry/managed/zkir/storeReference.zkir +158 -0
- package/dist/contracts/dataregistry/managed/zkir/updateReference.bzkir +0 -0
- package/dist/contracts/dataregistry/managed/zkir/updateReference.zkir +190 -0
- package/dist/dataregistry-simulator-E6RTGGWT-5YEGBW7P.mjs +108 -0
- package/dist/dataregistry-simulator-E6RTGGWT-DJS4MHBD.mjs +109 -0
- package/dist/dataregistry-simulator-E6RTGGWT-QGCYR3VF.mjs +1 -0
- package/dist/dist-655VYUPJ.mjs +1 -0
- package/dist/dist-INTAFXQ7.mjs +65 -0
- package/dist/dist-MEZZWKP4.mjs +1 -0
- package/dist/dist-MOLWJ4Y7.mjs +64 -0
- package/dist/dist-UD4WRMYJ.mjs +65 -0
- package/dist/errors.d.mts +117 -0
- package/dist/errors.d.ts +117 -0
- package/dist/errors.js +2308 -0
- package/dist/errors.mjs +2278 -0
- package/dist/esm5-AGBDHMNS.mjs +1 -0
- package/dist/esm5-GFOBLUFI.mjs +350 -0
- package/dist/in-memory-private-state-NGOP37V7-DXWZE42Q.mjs +48 -0
- package/dist/in-memory-private-state-NGOP37V7-QXT3RUEH.mjs +49 -0
- package/dist/in-memory-private-state-NGOP37V7-XFJFNFCQ.mjs +1 -0
- package/dist/index.d.mts +2843 -0
- package/dist/index.d.ts +2843 -0
- package/dist/index.js +19639 -0
- package/dist/index.mjs +5177 -0
- package/package.json +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$,$a,$b,A,Aa,Ab,B,Ba,Bb,C,Ca,Cb,D,Da,Db,E,Ea,Eb,F,Fa,Fb,G,Ga,Gb,H,Ha,Hb,I,Ia,Ib,J,Ja,Jb,K,Ka,Kb,L,La,Lb,M,Ma,Mb,N,Na,Nb,O,Oa,Ob,P,Pa,Pb,Q,Qa,Qb,R,Ra,Rb,S,Sa,Sb,T,Ta,Tb,U,Ua,Ub,V,Va,Vb,W,Wa,Wb,X,Xa,Xb,Y,Ya,Yb,Z,Za,Zb,_,_a,_b,a,aa,ab,ac,b,ba,bb,bc,c,ca,cb,cc,d,da,db,dc,e,ea,eb,ec,f,fa,fb,fc,g,ga,gb,gc,h,ha,hb,hc,i,ia,ib,ic,j,ja,jb,jc,k,ka,kb,kc,l,la,lb,m,ma,mb,n,na,nb,o,oa,ob,p,pa,pb,q,qa,qb,r,ra,rb,s,sa,sb,t,ta,tb,u,ua,ub,v,va,vb,w,wa,wb,x,xa,xb,y,ya,yb,z,za,zb}from"./chunk-Z2TH6U4C.mjs";export{Q as ArgumentOutOfRangeError,q as AsyncSubject,o as BehaviorSubject,k as ConnectableObservable,C as EMPTY,N as EmptyError,la as NEVER,R as NotFoundError,L as Notification,K as NotificationKind,m as ObjectUnsubscribedError,i as Observable,p as ReplaySubject,r as Scheduler,S as SequenceError,n as Subject,e as Subscriber,b as Subscription,T as TimeoutError,a as UnsubscriptionError,B as VirtualAction,A as VirtualTimeScheduler,z as animationFrame,y as animationFrameScheduler,l as animationFrames,t as asap,s as asapScheduler,v as async,u as asyncScheduler,va as audit,wa as auditTime,W as bindCallback,X as bindNodeCallback,xa as buffer,ya as bufferCount,za as bufferTime,Aa as bufferToggle,Ba as bufferWhen,Ca as catchError,Ga as combineAll,Y as combineLatest,Fa as combineLatestAll,Ha as combineLatestWith,aa as concat,$ as concatAll,Ia as concatMap,Ja as concatMapTo,Ka as concatWith,c as config,La as connect,ca as connectable,Ma as count,Na as debounce,Oa as debounceTime,Pa as defaultIfEmpty,ba as defer,Ua as delay,Ta as delayWhen,Va as dematerialize,Wa as distinct,Xa as distinctUntilChanged,Ya as distinctUntilKeyChanged,_a as elementAt,D as empty,$a as endWith,ab as every,db as exhaust,cb as exhaustAll,bb as exhaustMap,eb as expand,pa as filter,fb as finalize,gb as find,hb as findIndex,ib as first,P as firstValueFrom,pb as flatMap,da as forkJoin,H as from,ea as fromEvent,fa as fromEventPattern,ga as generate,jb as groupBy,g as identity,Ra as ignoreElements,ha as iif,ja as interval,kb as isEmpty,M as isObservable,mb as last,O as lastValueFrom,V as map,Sa as mapTo,nb as materialize,ob as max,ka as merge,_ as mergeAll,Z as mergeMap,qb as mergeMapTo,rb as mergeScan,sb as mergeWith,tb as min,ub as multicast,ma as never,d as noop,f as observable,E as observeOn,I as of,na as onErrorResumeNext,vb as onErrorResumeNextWith,oa as pairs,wb as pairwise,qa as partition,h as pipe,xb as pluck,yb as publish,zb as publishBehavior,Ab as publishLast,Bb as publishReplay,x as queue,w as queueScheduler,ra as race,Cb as raceWith,sa as range,Da as reduce,j as refCount,Db as repeat,Eb as repeatWhen,Fb as retry,Gb as retryWhen,Hb as sample,Ib as sampleTime,Jb as scan,G as scheduled,Kb as sequenceEqual,Lb as share,Mb as shareReplay,Nb as single,Ob as skip,Pb as skipLast,Qb as skipUntil,Rb as skipWhile,Sb as startWith,F as subscribeOn,Ub as switchAll,Tb as switchMap,Vb as switchMapTo,Wb as switchScan,Qa as take,lb as takeLast,Xb as takeUntil,Yb as takeWhile,Zb as tap,_b as throttle,$b as throttleTime,J as throwError,Za as throwIfEmpty,ac as timeInterval,U as timeout,bc as timeoutWith,ia as timer,cc as timestamp,Ea as toArray,ta as using,dc as window,ec as windowCount,fc as windowTime,gc as windowToggle,hc as windowWhen,ic as withLatestFrom,ua as zip,jc as zipAll,kc as zipWith};
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArgumentOutOfRangeError,
|
|
3
|
+
AsyncSubject,
|
|
4
|
+
BehaviorSubject,
|
|
5
|
+
ConnectableObservable,
|
|
6
|
+
EMPTY,
|
|
7
|
+
EmptyError,
|
|
8
|
+
NEVER,
|
|
9
|
+
NotFoundError,
|
|
10
|
+
Notification,
|
|
11
|
+
NotificationKind,
|
|
12
|
+
ObjectUnsubscribedError,
|
|
13
|
+
Observable,
|
|
14
|
+
ReplaySubject,
|
|
15
|
+
Scheduler,
|
|
16
|
+
SequenceError,
|
|
17
|
+
Subject,
|
|
18
|
+
Subscriber,
|
|
19
|
+
Subscription,
|
|
20
|
+
TimeoutError,
|
|
21
|
+
UnsubscriptionError,
|
|
22
|
+
VirtualAction,
|
|
23
|
+
VirtualTimeScheduler,
|
|
24
|
+
animationFrame,
|
|
25
|
+
animationFrameScheduler,
|
|
26
|
+
animationFrames,
|
|
27
|
+
asap,
|
|
28
|
+
asapScheduler,
|
|
29
|
+
async,
|
|
30
|
+
asyncScheduler,
|
|
31
|
+
audit,
|
|
32
|
+
auditTime,
|
|
33
|
+
bindCallback,
|
|
34
|
+
bindNodeCallback,
|
|
35
|
+
buffer,
|
|
36
|
+
bufferCount,
|
|
37
|
+
bufferTime,
|
|
38
|
+
bufferToggle,
|
|
39
|
+
bufferWhen,
|
|
40
|
+
catchError,
|
|
41
|
+
combineAll,
|
|
42
|
+
combineLatest,
|
|
43
|
+
combineLatestAll,
|
|
44
|
+
combineLatestWith,
|
|
45
|
+
concat,
|
|
46
|
+
concatAll,
|
|
47
|
+
concatMap,
|
|
48
|
+
concatMapTo,
|
|
49
|
+
concatWith,
|
|
50
|
+
config,
|
|
51
|
+
connect,
|
|
52
|
+
connectable,
|
|
53
|
+
count,
|
|
54
|
+
debounce,
|
|
55
|
+
debounceTime,
|
|
56
|
+
defaultIfEmpty,
|
|
57
|
+
defer,
|
|
58
|
+
delay,
|
|
59
|
+
delayWhen,
|
|
60
|
+
dematerialize,
|
|
61
|
+
distinct,
|
|
62
|
+
distinctUntilChanged,
|
|
63
|
+
distinctUntilKeyChanged,
|
|
64
|
+
elementAt,
|
|
65
|
+
empty,
|
|
66
|
+
endWith,
|
|
67
|
+
every,
|
|
68
|
+
exhaust,
|
|
69
|
+
exhaustAll,
|
|
70
|
+
exhaustMap,
|
|
71
|
+
expand,
|
|
72
|
+
filter,
|
|
73
|
+
finalize,
|
|
74
|
+
find,
|
|
75
|
+
findIndex,
|
|
76
|
+
first,
|
|
77
|
+
firstValueFrom,
|
|
78
|
+
flatMap,
|
|
79
|
+
forkJoin,
|
|
80
|
+
from,
|
|
81
|
+
fromEvent,
|
|
82
|
+
fromEventPattern,
|
|
83
|
+
generate,
|
|
84
|
+
groupBy,
|
|
85
|
+
identity,
|
|
86
|
+
ignoreElements,
|
|
87
|
+
iif,
|
|
88
|
+
interval,
|
|
89
|
+
isEmpty,
|
|
90
|
+
isObservable,
|
|
91
|
+
last,
|
|
92
|
+
lastValueFrom,
|
|
93
|
+
map,
|
|
94
|
+
mapTo,
|
|
95
|
+
materialize,
|
|
96
|
+
max,
|
|
97
|
+
merge,
|
|
98
|
+
mergeAll,
|
|
99
|
+
mergeMap,
|
|
100
|
+
mergeMapTo,
|
|
101
|
+
mergeScan,
|
|
102
|
+
mergeWith,
|
|
103
|
+
min,
|
|
104
|
+
multicast,
|
|
105
|
+
never,
|
|
106
|
+
noop,
|
|
107
|
+
observable,
|
|
108
|
+
observeOn,
|
|
109
|
+
of,
|
|
110
|
+
onErrorResumeNext,
|
|
111
|
+
onErrorResumeNextWith,
|
|
112
|
+
pairs,
|
|
113
|
+
pairwise,
|
|
114
|
+
partition,
|
|
115
|
+
pipe,
|
|
116
|
+
pluck,
|
|
117
|
+
publish,
|
|
118
|
+
publishBehavior,
|
|
119
|
+
publishLast,
|
|
120
|
+
publishReplay,
|
|
121
|
+
queue,
|
|
122
|
+
queueScheduler,
|
|
123
|
+
race,
|
|
124
|
+
raceWith,
|
|
125
|
+
range,
|
|
126
|
+
reduce,
|
|
127
|
+
refCount,
|
|
128
|
+
repeat,
|
|
129
|
+
repeatWhen,
|
|
130
|
+
retry,
|
|
131
|
+
retryWhen,
|
|
132
|
+
sample,
|
|
133
|
+
sampleTime,
|
|
134
|
+
scan,
|
|
135
|
+
scheduled,
|
|
136
|
+
sequenceEqual,
|
|
137
|
+
share,
|
|
138
|
+
shareReplay,
|
|
139
|
+
single,
|
|
140
|
+
skip,
|
|
141
|
+
skipLast,
|
|
142
|
+
skipUntil,
|
|
143
|
+
skipWhile,
|
|
144
|
+
startWith,
|
|
145
|
+
subscribeOn,
|
|
146
|
+
switchAll,
|
|
147
|
+
switchMap,
|
|
148
|
+
switchMapTo,
|
|
149
|
+
switchScan,
|
|
150
|
+
take,
|
|
151
|
+
takeLast,
|
|
152
|
+
takeUntil,
|
|
153
|
+
takeWhile,
|
|
154
|
+
tap,
|
|
155
|
+
throttle,
|
|
156
|
+
throttleTime,
|
|
157
|
+
throwError,
|
|
158
|
+
throwIfEmpty,
|
|
159
|
+
timeInterval,
|
|
160
|
+
timeout,
|
|
161
|
+
timeoutWith,
|
|
162
|
+
timer,
|
|
163
|
+
timestamp,
|
|
164
|
+
toArray,
|
|
165
|
+
using,
|
|
166
|
+
window,
|
|
167
|
+
windowCount,
|
|
168
|
+
windowTime,
|
|
169
|
+
windowToggle,
|
|
170
|
+
windowWhen,
|
|
171
|
+
withLatestFrom,
|
|
172
|
+
zip,
|
|
173
|
+
zipAll,
|
|
174
|
+
zipWith
|
|
175
|
+
} from "./chunk-FJ7LSZOW.mjs";
|
|
176
|
+
export {
|
|
177
|
+
ArgumentOutOfRangeError,
|
|
178
|
+
AsyncSubject,
|
|
179
|
+
BehaviorSubject,
|
|
180
|
+
ConnectableObservable,
|
|
181
|
+
EMPTY,
|
|
182
|
+
EmptyError,
|
|
183
|
+
NEVER,
|
|
184
|
+
NotFoundError,
|
|
185
|
+
Notification,
|
|
186
|
+
NotificationKind,
|
|
187
|
+
ObjectUnsubscribedError,
|
|
188
|
+
Observable,
|
|
189
|
+
ReplaySubject,
|
|
190
|
+
Scheduler,
|
|
191
|
+
SequenceError,
|
|
192
|
+
Subject,
|
|
193
|
+
Subscriber,
|
|
194
|
+
Subscription,
|
|
195
|
+
TimeoutError,
|
|
196
|
+
UnsubscriptionError,
|
|
197
|
+
VirtualAction,
|
|
198
|
+
VirtualTimeScheduler,
|
|
199
|
+
animationFrame,
|
|
200
|
+
animationFrameScheduler,
|
|
201
|
+
animationFrames,
|
|
202
|
+
asap,
|
|
203
|
+
asapScheduler,
|
|
204
|
+
async,
|
|
205
|
+
asyncScheduler,
|
|
206
|
+
audit,
|
|
207
|
+
auditTime,
|
|
208
|
+
bindCallback,
|
|
209
|
+
bindNodeCallback,
|
|
210
|
+
buffer,
|
|
211
|
+
bufferCount,
|
|
212
|
+
bufferTime,
|
|
213
|
+
bufferToggle,
|
|
214
|
+
bufferWhen,
|
|
215
|
+
catchError,
|
|
216
|
+
combineAll,
|
|
217
|
+
combineLatest,
|
|
218
|
+
combineLatestAll,
|
|
219
|
+
combineLatestWith,
|
|
220
|
+
concat,
|
|
221
|
+
concatAll,
|
|
222
|
+
concatMap,
|
|
223
|
+
concatMapTo,
|
|
224
|
+
concatWith,
|
|
225
|
+
config,
|
|
226
|
+
connect,
|
|
227
|
+
connectable,
|
|
228
|
+
count,
|
|
229
|
+
debounce,
|
|
230
|
+
debounceTime,
|
|
231
|
+
defaultIfEmpty,
|
|
232
|
+
defer,
|
|
233
|
+
delay,
|
|
234
|
+
delayWhen,
|
|
235
|
+
dematerialize,
|
|
236
|
+
distinct,
|
|
237
|
+
distinctUntilChanged,
|
|
238
|
+
distinctUntilKeyChanged,
|
|
239
|
+
elementAt,
|
|
240
|
+
empty,
|
|
241
|
+
endWith,
|
|
242
|
+
every,
|
|
243
|
+
exhaust,
|
|
244
|
+
exhaustAll,
|
|
245
|
+
exhaustMap,
|
|
246
|
+
expand,
|
|
247
|
+
filter,
|
|
248
|
+
finalize,
|
|
249
|
+
find,
|
|
250
|
+
findIndex,
|
|
251
|
+
first,
|
|
252
|
+
firstValueFrom,
|
|
253
|
+
flatMap,
|
|
254
|
+
forkJoin,
|
|
255
|
+
from,
|
|
256
|
+
fromEvent,
|
|
257
|
+
fromEventPattern,
|
|
258
|
+
generate,
|
|
259
|
+
groupBy,
|
|
260
|
+
identity,
|
|
261
|
+
ignoreElements,
|
|
262
|
+
iif,
|
|
263
|
+
interval,
|
|
264
|
+
isEmpty,
|
|
265
|
+
isObservable,
|
|
266
|
+
last,
|
|
267
|
+
lastValueFrom,
|
|
268
|
+
map,
|
|
269
|
+
mapTo,
|
|
270
|
+
materialize,
|
|
271
|
+
max,
|
|
272
|
+
merge,
|
|
273
|
+
mergeAll,
|
|
274
|
+
mergeMap,
|
|
275
|
+
mergeMapTo,
|
|
276
|
+
mergeScan,
|
|
277
|
+
mergeWith,
|
|
278
|
+
min,
|
|
279
|
+
multicast,
|
|
280
|
+
never,
|
|
281
|
+
noop,
|
|
282
|
+
observable,
|
|
283
|
+
observeOn,
|
|
284
|
+
of,
|
|
285
|
+
onErrorResumeNext,
|
|
286
|
+
onErrorResumeNextWith,
|
|
287
|
+
pairs,
|
|
288
|
+
pairwise,
|
|
289
|
+
partition,
|
|
290
|
+
pipe,
|
|
291
|
+
pluck,
|
|
292
|
+
publish,
|
|
293
|
+
publishBehavior,
|
|
294
|
+
publishLast,
|
|
295
|
+
publishReplay,
|
|
296
|
+
queue,
|
|
297
|
+
queueScheduler,
|
|
298
|
+
race,
|
|
299
|
+
raceWith,
|
|
300
|
+
range,
|
|
301
|
+
reduce,
|
|
302
|
+
refCount,
|
|
303
|
+
repeat,
|
|
304
|
+
repeatWhen,
|
|
305
|
+
retry,
|
|
306
|
+
retryWhen,
|
|
307
|
+
sample,
|
|
308
|
+
sampleTime,
|
|
309
|
+
scan,
|
|
310
|
+
scheduled,
|
|
311
|
+
sequenceEqual,
|
|
312
|
+
share,
|
|
313
|
+
shareReplay,
|
|
314
|
+
single,
|
|
315
|
+
skip,
|
|
316
|
+
skipLast,
|
|
317
|
+
skipUntil,
|
|
318
|
+
skipWhile,
|
|
319
|
+
startWith,
|
|
320
|
+
subscribeOn,
|
|
321
|
+
switchAll,
|
|
322
|
+
switchMap,
|
|
323
|
+
switchMapTo,
|
|
324
|
+
switchScan,
|
|
325
|
+
take,
|
|
326
|
+
takeLast,
|
|
327
|
+
takeUntil,
|
|
328
|
+
takeWhile,
|
|
329
|
+
tap,
|
|
330
|
+
throttle,
|
|
331
|
+
throttleTime,
|
|
332
|
+
throwError,
|
|
333
|
+
throwIfEmpty,
|
|
334
|
+
timeInterval,
|
|
335
|
+
timeout,
|
|
336
|
+
timeoutWith,
|
|
337
|
+
timer,
|
|
338
|
+
timestamp,
|
|
339
|
+
toArray,
|
|
340
|
+
using,
|
|
341
|
+
window,
|
|
342
|
+
windowCount,
|
|
343
|
+
windowTime,
|
|
344
|
+
windowToggle,
|
|
345
|
+
windowWhen,
|
|
346
|
+
withLatestFrom,
|
|
347
|
+
zip,
|
|
348
|
+
zipAll,
|
|
349
|
+
zipWith
|
|
350
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import "./chunk-5QOKJEH3.mjs";
|
|
2
|
+
|
|
3
|
+
// ../chain/dist/in-memory-private-state-NGOP37V7.mjs
|
|
4
|
+
var createInMemoryPrivateStateProvider = () => {
|
|
5
|
+
const record = /* @__PURE__ */ new Map();
|
|
6
|
+
const signingKeys = {};
|
|
7
|
+
return {
|
|
8
|
+
set(key, state) {
|
|
9
|
+
const existing = record.get(key);
|
|
10
|
+
if (existing != null && typeof existing === "object") {
|
|
11
|
+
for (const v of Object.values(existing)) {
|
|
12
|
+
if (v instanceof Uint8Array) v.fill(0);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
record.set(key, state);
|
|
16
|
+
return Promise.resolve();
|
|
17
|
+
},
|
|
18
|
+
get(key) {
|
|
19
|
+
return Promise.resolve(record.get(key) ?? null);
|
|
20
|
+
},
|
|
21
|
+
remove(key) {
|
|
22
|
+
record.delete(key);
|
|
23
|
+
return Promise.resolve();
|
|
24
|
+
},
|
|
25
|
+
clear() {
|
|
26
|
+
record.clear();
|
|
27
|
+
return Promise.resolve();
|
|
28
|
+
},
|
|
29
|
+
setSigningKey(contractAddress, signingKey) {
|
|
30
|
+
signingKeys[contractAddress] = signingKey;
|
|
31
|
+
return Promise.resolve();
|
|
32
|
+
},
|
|
33
|
+
getSigningKey(contractAddress) {
|
|
34
|
+
return Promise.resolve(signingKeys[contractAddress] ?? null);
|
|
35
|
+
},
|
|
36
|
+
removeSigningKey(contractAddress) {
|
|
37
|
+
delete signingKeys[contractAddress];
|
|
38
|
+
return Promise.resolve();
|
|
39
|
+
},
|
|
40
|
+
clearSigningKeys() {
|
|
41
|
+
Object.keys(signingKeys).forEach((k) => delete signingKeys[k]);
|
|
42
|
+
return Promise.resolve();
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
createInMemoryPrivateStateProvider
|
|
48
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import "./chunk-5QOKJEH3.mjs";
|
|
2
|
+
import "./chunk-UJCSKKID.mjs";
|
|
3
|
+
|
|
4
|
+
// ../chain/dist/in-memory-private-state-NGOP37V7.mjs
|
|
5
|
+
var createInMemoryPrivateStateProvider = () => {
|
|
6
|
+
const record = /* @__PURE__ */ new Map();
|
|
7
|
+
const signingKeys = {};
|
|
8
|
+
return {
|
|
9
|
+
set(key, state) {
|
|
10
|
+
const existing = record.get(key);
|
|
11
|
+
if (existing != null && typeof existing === "object") {
|
|
12
|
+
for (const v of Object.values(existing)) {
|
|
13
|
+
if (v instanceof Uint8Array) v.fill(0);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
record.set(key, state);
|
|
17
|
+
return Promise.resolve();
|
|
18
|
+
},
|
|
19
|
+
get(key) {
|
|
20
|
+
return Promise.resolve(record.get(key) ?? null);
|
|
21
|
+
},
|
|
22
|
+
remove(key) {
|
|
23
|
+
record.delete(key);
|
|
24
|
+
return Promise.resolve();
|
|
25
|
+
},
|
|
26
|
+
clear() {
|
|
27
|
+
record.clear();
|
|
28
|
+
return Promise.resolve();
|
|
29
|
+
},
|
|
30
|
+
setSigningKey(contractAddress, signingKey) {
|
|
31
|
+
signingKeys[contractAddress] = signingKey;
|
|
32
|
+
return Promise.resolve();
|
|
33
|
+
},
|
|
34
|
+
getSigningKey(contractAddress) {
|
|
35
|
+
return Promise.resolve(signingKeys[contractAddress] ?? null);
|
|
36
|
+
},
|
|
37
|
+
removeSigningKey(contractAddress) {
|
|
38
|
+
delete signingKeys[contractAddress];
|
|
39
|
+
return Promise.resolve();
|
|
40
|
+
},
|
|
41
|
+
clearSigningKeys() {
|
|
42
|
+
Object.keys(signingKeys).forEach((k) => delete signingKeys[k]);
|
|
43
|
+
return Promise.resolve();
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
createInMemoryPrivateStateProvider
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-ZGUY5EIR.mjs";var i=()=>{let r=new Map,t={};return{set(e,o){let n=r.get(e);if(n!=null&&typeof n=="object")for(let s of Object.values(n))s instanceof Uint8Array&&s.fill(0);return r.set(e,o),Promise.resolve()},get(e){return Promise.resolve(r.get(e)??null)},remove(e){return r.delete(e),Promise.resolve()},clear(){return r.clear(),Promise.resolve()},setSigningKey(e,o){return t[e]=o,Promise.resolve()},getSigningKey(e){return Promise.resolve(t[e]??null)},removeSigningKey(e){return delete t[e],Promise.resolve()},clearSigningKeys(){return Object.keys(t).forEach(e=>delete t[e]),Promise.resolve()}}};export{i as createInMemoryPrivateStateProvider};
|