Skip to content

Commit

Permalink
npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Oct 10, 2023
1 parent 8008177 commit e052c1d
Show file tree
Hide file tree
Showing 81 changed files with 1,094 additions and 1,090 deletions.
5 changes: 4 additions & 1 deletion cheqd/did/v1/common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cheqd/did/v1/common.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions cheqd/did/v1/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ export const KeyValuePair = {
},

fromJSON(object: any): KeyValuePair {
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
return {
key: isSet(object.key) ? globalThis.String(object.key) : "",
value: isSet(object.value) ? globalThis.String(object.value) : "",
};
},

toJSON(message: KeyValuePair): unknown {
Expand Down Expand Up @@ -81,7 +84,7 @@ export const KeyValuePair = {
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;

type DeepPartial<T> = T extends Builtin ? T
: T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>>
: T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
Expand Down
54 changes: 33 additions & 21 deletions cheqd/did/v1/did.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e052c1d

Please sign in to comment.