@notifi-network/fusion-sdk 0.0.1-canary10

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 (30) hide show
  1. package/LICENSE +21 -0
  2. package/dist/fusion_wrappers/blockchain_proxies.d.ts +24 -0
  3. package/dist/fusion_wrappers/blockchain_proxies.js +131 -0
  4. package/dist/fusion_wrappers/fetch_proxy.d.ts +9 -0
  5. package/dist/fusion_wrappers/fetch_proxy.js +31 -0
  6. package/dist/index.d.ts +5 -0
  7. package/dist/index.js +7 -0
  8. package/dist/protos_gen/google/protobuf/duration.d.ts +99 -0
  9. package/dist/protos_gen/google/protobuf/duration.js +89 -0
  10. package/dist/protos_gen/google/protobuf/empty.d.ts +33 -0
  11. package/dist/protos_gen/google/protobuf/empty.js +45 -0
  12. package/dist/protos_gen/google/protobuf/struct.d.ts +107 -0
  13. package/dist/protos_gen/google/protobuf/struct.js +451 -0
  14. package/dist/protos_gen/google/protobuf/timestamp.d.ts +128 -0
  15. package/dist/protos_gen/google/protobuf/timestamp.js +89 -0
  16. package/dist/protos_gen/google/protobuf/wrappers.d.ts +138 -0
  17. package/dist/protos_gen/google/protobuf/wrappers.js +505 -0
  18. package/dist/protos_gen/notifi/common/v1/types.d.ts +752 -0
  19. package/dist/protos_gen/notifi/common/v1/types.js +7300 -0
  20. package/dist/protos_gen/services/blockchain_manager/v1/blockchain_manager.d.ts +587 -0
  21. package/dist/protos_gen/services/blockchain_manager/v1/blockchain_manager.js +3482 -0
  22. package/dist/protos_gen/services/fetch_proxy/v1/fetch_proxy.d.ts +87 -0
  23. package/dist/protos_gen/services/fetch_proxy/v1/fetch_proxy.js +427 -0
  24. package/dist/protos_gen/services/scheduler/v1/scheduler.d.ts +398 -0
  25. package/dist/protos_gen/services/scheduler/v1/scheduler.js +2175 -0
  26. package/dist/protos_gen/services/storage_manager/v1/storage_manager.d.ts +342 -0
  27. package/dist/protos_gen/services/storage_manager/v1/storage_manager.js +1953 -0
  28. package/dist/protos_gen/services/subscription_manager/v1/subscription_manager.d.ts +62 -0
  29. package/dist/protos_gen/services/subscription_manager/v1/subscription_manager.js +233 -0
  30. package/package.json +48 -0
@@ -0,0 +1,138 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ export declare const protobufPackage = "google.protobuf";
3
+ /**
4
+ * Wrapper message for `double`.
5
+ *
6
+ * The JSON representation for `DoubleValue` is JSON number.
7
+ *
8
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
9
+ * has no plan to be removed.
10
+ */
11
+ export interface DoubleValue {
12
+ /** The double value. */
13
+ value: number;
14
+ }
15
+ /**
16
+ * Wrapper message for `float`.
17
+ *
18
+ * The JSON representation for `FloatValue` is JSON number.
19
+ *
20
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
21
+ * has no plan to be removed.
22
+ */
23
+ export interface FloatValue {
24
+ /** The float value. */
25
+ value: number;
26
+ }
27
+ /**
28
+ * Wrapper message for `int64`.
29
+ *
30
+ * The JSON representation for `Int64Value` is JSON string.
31
+ *
32
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
33
+ * has no plan to be removed.
34
+ */
35
+ export interface Int64Value {
36
+ /** The int64 value. */
37
+ value: number;
38
+ }
39
+ /**
40
+ * Wrapper message for `uint64`.
41
+ *
42
+ * The JSON representation for `UInt64Value` is JSON string.
43
+ *
44
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
45
+ * has no plan to be removed.
46
+ */
47
+ export interface UInt64Value {
48
+ /** The uint64 value. */
49
+ value: number;
50
+ }
51
+ /**
52
+ * Wrapper message for `int32`.
53
+ *
54
+ * The JSON representation for `Int32Value` is JSON number.
55
+ *
56
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
57
+ * has no plan to be removed.
58
+ */
59
+ export interface Int32Value {
60
+ /** The int32 value. */
61
+ value: number;
62
+ }
63
+ /**
64
+ * Wrapper message for `uint32`.
65
+ *
66
+ * The JSON representation for `UInt32Value` is JSON number.
67
+ *
68
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
69
+ * has no plan to be removed.
70
+ */
71
+ export interface UInt32Value {
72
+ /** The uint32 value. */
73
+ value: number;
74
+ }
75
+ /**
76
+ * Wrapper message for `bool`.
77
+ *
78
+ * The JSON representation for `BoolValue` is JSON `true` and `false`.
79
+ *
80
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
81
+ * has no plan to be removed.
82
+ */
83
+ export interface BoolValue {
84
+ /** The bool value. */
85
+ value: boolean;
86
+ }
87
+ /**
88
+ * Wrapper message for `string`.
89
+ *
90
+ * The JSON representation for `StringValue` is JSON string.
91
+ *
92
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
93
+ * has no plan to be removed.
94
+ */
95
+ export interface StringValue {
96
+ /** The string value. */
97
+ value: string;
98
+ }
99
+ /**
100
+ * Wrapper message for `bytes`.
101
+ *
102
+ * The JSON representation for `BytesValue` is JSON string.
103
+ *
104
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
105
+ * has no plan to be removed.
106
+ */
107
+ export interface BytesValue {
108
+ /** The bytes value. */
109
+ value: Uint8Array;
110
+ }
111
+ export declare const DoubleValue: MessageFns<DoubleValue>;
112
+ export declare const FloatValue: MessageFns<FloatValue>;
113
+ export declare const Int64Value: MessageFns<Int64Value>;
114
+ export declare const UInt64Value: MessageFns<UInt64Value>;
115
+ export declare const Int32Value: MessageFns<Int32Value>;
116
+ export declare const UInt32Value: MessageFns<UInt32Value>;
117
+ export declare const BoolValue: MessageFns<BoolValue>;
118
+ export declare const StringValue: MessageFns<StringValue>;
119
+ export declare const BytesValue: MessageFns<BytesValue>;
120
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
121
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
122
+ [K in keyof T]?: DeepPartial<T[K]>;
123
+ } : Partial<T>;
124
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
125
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
126
+ [K in keyof P]: Exact<P[K], I[K]>;
127
+ } & {
128
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
129
+ };
130
+ export interface MessageFns<T> {
131
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
132
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
133
+ fromJSON(object: any): T;
134
+ toJSON(message: T): unknown;
135
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
136
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
137
+ }
138
+ export {};
@@ -0,0 +1,505 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.7.0
4
+ // protoc unknown
5
+ // source: google/protobuf/wrappers.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "google.protobuf";
9
+ function createBaseDoubleValue() {
10
+ return { value: 0 };
11
+ }
12
+ export const DoubleValue = {
13
+ encode(message, writer = new BinaryWriter()) {
14
+ if (message.value !== 0) {
15
+ writer.uint32(9).double(message.value);
16
+ }
17
+ return writer;
18
+ },
19
+ decode(input, length) {
20
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
21
+ let end = length === undefined ? reader.len : reader.pos + length;
22
+ const message = createBaseDoubleValue();
23
+ while (reader.pos < end) {
24
+ const tag = reader.uint32();
25
+ switch (tag >>> 3) {
26
+ case 1: {
27
+ if (tag !== 9) {
28
+ break;
29
+ }
30
+ message.value = reader.double();
31
+ continue;
32
+ }
33
+ }
34
+ if ((tag & 7) === 4 || tag === 0) {
35
+ break;
36
+ }
37
+ reader.skip(tag & 7);
38
+ }
39
+ return message;
40
+ },
41
+ fromJSON(object) {
42
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
43
+ },
44
+ toJSON(message) {
45
+ const obj = {};
46
+ if (message.value !== 0) {
47
+ obj.value = message.value;
48
+ }
49
+ return obj;
50
+ },
51
+ create(base) {
52
+ return DoubleValue.fromPartial(base ?? {});
53
+ },
54
+ fromPartial(object) {
55
+ const message = createBaseDoubleValue();
56
+ message.value = object.value ?? 0;
57
+ return message;
58
+ },
59
+ };
60
+ function createBaseFloatValue() {
61
+ return { value: 0 };
62
+ }
63
+ export const FloatValue = {
64
+ encode(message, writer = new BinaryWriter()) {
65
+ if (message.value !== 0) {
66
+ writer.uint32(13).float(message.value);
67
+ }
68
+ return writer;
69
+ },
70
+ decode(input, length) {
71
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
72
+ let end = length === undefined ? reader.len : reader.pos + length;
73
+ const message = createBaseFloatValue();
74
+ while (reader.pos < end) {
75
+ const tag = reader.uint32();
76
+ switch (tag >>> 3) {
77
+ case 1: {
78
+ if (tag !== 13) {
79
+ break;
80
+ }
81
+ message.value = reader.float();
82
+ continue;
83
+ }
84
+ }
85
+ if ((tag & 7) === 4 || tag === 0) {
86
+ break;
87
+ }
88
+ reader.skip(tag & 7);
89
+ }
90
+ return message;
91
+ },
92
+ fromJSON(object) {
93
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
94
+ },
95
+ toJSON(message) {
96
+ const obj = {};
97
+ if (message.value !== 0) {
98
+ obj.value = message.value;
99
+ }
100
+ return obj;
101
+ },
102
+ create(base) {
103
+ return FloatValue.fromPartial(base ?? {});
104
+ },
105
+ fromPartial(object) {
106
+ const message = createBaseFloatValue();
107
+ message.value = object.value ?? 0;
108
+ return message;
109
+ },
110
+ };
111
+ function createBaseInt64Value() {
112
+ return { value: 0 };
113
+ }
114
+ export const Int64Value = {
115
+ encode(message, writer = new BinaryWriter()) {
116
+ if (message.value !== 0) {
117
+ writer.uint32(8).int64(message.value);
118
+ }
119
+ return writer;
120
+ },
121
+ decode(input, length) {
122
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
123
+ let end = length === undefined ? reader.len : reader.pos + length;
124
+ const message = createBaseInt64Value();
125
+ while (reader.pos < end) {
126
+ const tag = reader.uint32();
127
+ switch (tag >>> 3) {
128
+ case 1: {
129
+ if (tag !== 8) {
130
+ break;
131
+ }
132
+ message.value = longToNumber(reader.int64());
133
+ continue;
134
+ }
135
+ }
136
+ if ((tag & 7) === 4 || tag === 0) {
137
+ break;
138
+ }
139
+ reader.skip(tag & 7);
140
+ }
141
+ return message;
142
+ },
143
+ fromJSON(object) {
144
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
145
+ },
146
+ toJSON(message) {
147
+ const obj = {};
148
+ if (message.value !== 0) {
149
+ obj.value = Math.round(message.value);
150
+ }
151
+ return obj;
152
+ },
153
+ create(base) {
154
+ return Int64Value.fromPartial(base ?? {});
155
+ },
156
+ fromPartial(object) {
157
+ const message = createBaseInt64Value();
158
+ message.value = object.value ?? 0;
159
+ return message;
160
+ },
161
+ };
162
+ function createBaseUInt64Value() {
163
+ return { value: 0 };
164
+ }
165
+ export const UInt64Value = {
166
+ encode(message, writer = new BinaryWriter()) {
167
+ if (message.value !== 0) {
168
+ writer.uint32(8).uint64(message.value);
169
+ }
170
+ return writer;
171
+ },
172
+ decode(input, length) {
173
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
174
+ let end = length === undefined ? reader.len : reader.pos + length;
175
+ const message = createBaseUInt64Value();
176
+ while (reader.pos < end) {
177
+ const tag = reader.uint32();
178
+ switch (tag >>> 3) {
179
+ case 1: {
180
+ if (tag !== 8) {
181
+ break;
182
+ }
183
+ message.value = longToNumber(reader.uint64());
184
+ continue;
185
+ }
186
+ }
187
+ if ((tag & 7) === 4 || tag === 0) {
188
+ break;
189
+ }
190
+ reader.skip(tag & 7);
191
+ }
192
+ return message;
193
+ },
194
+ fromJSON(object) {
195
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
196
+ },
197
+ toJSON(message) {
198
+ const obj = {};
199
+ if (message.value !== 0) {
200
+ obj.value = Math.round(message.value);
201
+ }
202
+ return obj;
203
+ },
204
+ create(base) {
205
+ return UInt64Value.fromPartial(base ?? {});
206
+ },
207
+ fromPartial(object) {
208
+ const message = createBaseUInt64Value();
209
+ message.value = object.value ?? 0;
210
+ return message;
211
+ },
212
+ };
213
+ function createBaseInt32Value() {
214
+ return { value: 0 };
215
+ }
216
+ export const Int32Value = {
217
+ encode(message, writer = new BinaryWriter()) {
218
+ if (message.value !== 0) {
219
+ writer.uint32(8).int32(message.value);
220
+ }
221
+ return writer;
222
+ },
223
+ decode(input, length) {
224
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
225
+ let end = length === undefined ? reader.len : reader.pos + length;
226
+ const message = createBaseInt32Value();
227
+ while (reader.pos < end) {
228
+ const tag = reader.uint32();
229
+ switch (tag >>> 3) {
230
+ case 1: {
231
+ if (tag !== 8) {
232
+ break;
233
+ }
234
+ message.value = reader.int32();
235
+ continue;
236
+ }
237
+ }
238
+ if ((tag & 7) === 4 || tag === 0) {
239
+ break;
240
+ }
241
+ reader.skip(tag & 7);
242
+ }
243
+ return message;
244
+ },
245
+ fromJSON(object) {
246
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
247
+ },
248
+ toJSON(message) {
249
+ const obj = {};
250
+ if (message.value !== 0) {
251
+ obj.value = Math.round(message.value);
252
+ }
253
+ return obj;
254
+ },
255
+ create(base) {
256
+ return Int32Value.fromPartial(base ?? {});
257
+ },
258
+ fromPartial(object) {
259
+ const message = createBaseInt32Value();
260
+ message.value = object.value ?? 0;
261
+ return message;
262
+ },
263
+ };
264
+ function createBaseUInt32Value() {
265
+ return { value: 0 };
266
+ }
267
+ export const UInt32Value = {
268
+ encode(message, writer = new BinaryWriter()) {
269
+ if (message.value !== 0) {
270
+ writer.uint32(8).uint32(message.value);
271
+ }
272
+ return writer;
273
+ },
274
+ decode(input, length) {
275
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
276
+ let end = length === undefined ? reader.len : reader.pos + length;
277
+ const message = createBaseUInt32Value();
278
+ while (reader.pos < end) {
279
+ const tag = reader.uint32();
280
+ switch (tag >>> 3) {
281
+ case 1: {
282
+ if (tag !== 8) {
283
+ break;
284
+ }
285
+ message.value = reader.uint32();
286
+ continue;
287
+ }
288
+ }
289
+ if ((tag & 7) === 4 || tag === 0) {
290
+ break;
291
+ }
292
+ reader.skip(tag & 7);
293
+ }
294
+ return message;
295
+ },
296
+ fromJSON(object) {
297
+ return { value: isSet(object.value) ? globalThis.Number(object.value) : 0 };
298
+ },
299
+ toJSON(message) {
300
+ const obj = {};
301
+ if (message.value !== 0) {
302
+ obj.value = Math.round(message.value);
303
+ }
304
+ return obj;
305
+ },
306
+ create(base) {
307
+ return UInt32Value.fromPartial(base ?? {});
308
+ },
309
+ fromPartial(object) {
310
+ const message = createBaseUInt32Value();
311
+ message.value = object.value ?? 0;
312
+ return message;
313
+ },
314
+ };
315
+ function createBaseBoolValue() {
316
+ return { value: false };
317
+ }
318
+ export const BoolValue = {
319
+ encode(message, writer = new BinaryWriter()) {
320
+ if (message.value !== false) {
321
+ writer.uint32(8).bool(message.value);
322
+ }
323
+ return writer;
324
+ },
325
+ decode(input, length) {
326
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
327
+ let end = length === undefined ? reader.len : reader.pos + length;
328
+ const message = createBaseBoolValue();
329
+ while (reader.pos < end) {
330
+ const tag = reader.uint32();
331
+ switch (tag >>> 3) {
332
+ case 1: {
333
+ if (tag !== 8) {
334
+ break;
335
+ }
336
+ message.value = reader.bool();
337
+ continue;
338
+ }
339
+ }
340
+ if ((tag & 7) === 4 || tag === 0) {
341
+ break;
342
+ }
343
+ reader.skip(tag & 7);
344
+ }
345
+ return message;
346
+ },
347
+ fromJSON(object) {
348
+ return { value: isSet(object.value) ? globalThis.Boolean(object.value) : false };
349
+ },
350
+ toJSON(message) {
351
+ const obj = {};
352
+ if (message.value !== false) {
353
+ obj.value = message.value;
354
+ }
355
+ return obj;
356
+ },
357
+ create(base) {
358
+ return BoolValue.fromPartial(base ?? {});
359
+ },
360
+ fromPartial(object) {
361
+ const message = createBaseBoolValue();
362
+ message.value = object.value ?? false;
363
+ return message;
364
+ },
365
+ };
366
+ function createBaseStringValue() {
367
+ return { value: "" };
368
+ }
369
+ export const StringValue = {
370
+ encode(message, writer = new BinaryWriter()) {
371
+ if (message.value !== "") {
372
+ writer.uint32(10).string(message.value);
373
+ }
374
+ return writer;
375
+ },
376
+ decode(input, length) {
377
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
378
+ let end = length === undefined ? reader.len : reader.pos + length;
379
+ const message = createBaseStringValue();
380
+ while (reader.pos < end) {
381
+ const tag = reader.uint32();
382
+ switch (tag >>> 3) {
383
+ case 1: {
384
+ if (tag !== 10) {
385
+ break;
386
+ }
387
+ message.value = reader.string();
388
+ continue;
389
+ }
390
+ }
391
+ if ((tag & 7) === 4 || tag === 0) {
392
+ break;
393
+ }
394
+ reader.skip(tag & 7);
395
+ }
396
+ return message;
397
+ },
398
+ fromJSON(object) {
399
+ return { value: isSet(object.value) ? globalThis.String(object.value) : "" };
400
+ },
401
+ toJSON(message) {
402
+ const obj = {};
403
+ if (message.value !== "") {
404
+ obj.value = message.value;
405
+ }
406
+ return obj;
407
+ },
408
+ create(base) {
409
+ return StringValue.fromPartial(base ?? {});
410
+ },
411
+ fromPartial(object) {
412
+ const message = createBaseStringValue();
413
+ message.value = object.value ?? "";
414
+ return message;
415
+ },
416
+ };
417
+ function createBaseBytesValue() {
418
+ return { value: new Uint8Array(0) };
419
+ }
420
+ export const BytesValue = {
421
+ encode(message, writer = new BinaryWriter()) {
422
+ if (message.value.length !== 0) {
423
+ writer.uint32(10).bytes(message.value);
424
+ }
425
+ return writer;
426
+ },
427
+ decode(input, length) {
428
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
429
+ let end = length === undefined ? reader.len : reader.pos + length;
430
+ const message = createBaseBytesValue();
431
+ while (reader.pos < end) {
432
+ const tag = reader.uint32();
433
+ switch (tag >>> 3) {
434
+ case 1: {
435
+ if (tag !== 10) {
436
+ break;
437
+ }
438
+ message.value = reader.bytes();
439
+ continue;
440
+ }
441
+ }
442
+ if ((tag & 7) === 4 || tag === 0) {
443
+ break;
444
+ }
445
+ reader.skip(tag & 7);
446
+ }
447
+ return message;
448
+ },
449
+ fromJSON(object) {
450
+ return { value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0) };
451
+ },
452
+ toJSON(message) {
453
+ const obj = {};
454
+ if (message.value.length !== 0) {
455
+ obj.value = base64FromBytes(message.value);
456
+ }
457
+ return obj;
458
+ },
459
+ create(base) {
460
+ return BytesValue.fromPartial(base ?? {});
461
+ },
462
+ fromPartial(object) {
463
+ const message = createBaseBytesValue();
464
+ message.value = object.value ?? new Uint8Array(0);
465
+ return message;
466
+ },
467
+ };
468
+ function bytesFromBase64(b64) {
469
+ if (globalThis.Buffer) {
470
+ return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
471
+ }
472
+ else {
473
+ const bin = globalThis.atob(b64);
474
+ const arr = new Uint8Array(bin.length);
475
+ for (let i = 0; i < bin.length; ++i) {
476
+ arr[i] = bin.charCodeAt(i);
477
+ }
478
+ return arr;
479
+ }
480
+ }
481
+ function base64FromBytes(arr) {
482
+ if (globalThis.Buffer) {
483
+ return globalThis.Buffer.from(arr).toString("base64");
484
+ }
485
+ else {
486
+ const bin = [];
487
+ arr.forEach((byte) => {
488
+ bin.push(globalThis.String.fromCharCode(byte));
489
+ });
490
+ return globalThis.btoa(bin.join(""));
491
+ }
492
+ }
493
+ function longToNumber(int64) {
494
+ const num = globalThis.Number(int64.toString());
495
+ if (num > globalThis.Number.MAX_SAFE_INTEGER) {
496
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
497
+ }
498
+ if (num < globalThis.Number.MIN_SAFE_INTEGER) {
499
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
500
+ }
501
+ return num;
502
+ }
503
+ function isSet(value) {
504
+ return value !== null && value !== undefined;
505
+ }