Skip to content

Commit

Permalink
npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Apr 9, 2024
1 parent 5b04b8c commit 5b4f3d5
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion cheqd/did/v2/tx.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cheqd/did/v2/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ interface Rpc {
}

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -1343,7 +1343,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion cheqd/resource/v1/resource.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cheqd/resource/v1/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const ResourceHeader = {
};

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -297,7 +297,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion cheqd/resource/v1/tx.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cheqd/resource/v1/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ interface Rpc {
}

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -317,7 +317,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion cheqd/resource/v2/resource.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cheqd/resource/v2/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export const ResourceWithMetadata = {
};

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -555,7 +555,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion cheqd/resource/v2/tx.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cheqd/resource/v2/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ interface Rpc {
}

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -415,7 +415,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion cosmos/base/query/v1beta1/pagination.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cosmos/base/query/v1beta1/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const PageResponse = {
};

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -283,7 +283,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion google/protobuf/any.js.map

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

4 changes: 2 additions & 2 deletions google/protobuf/any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const Any = {
};

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -211,7 +211,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion google/protobuf/descriptor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions google/protobuf/descriptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5091,7 +5091,7 @@ export const GeneratedCodeInfo_Annotation = {
};

function bytesFromBase64(b64: string): Uint8Array {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
} else {
const bin = globalThis.atob(b64);
Expand All @@ -5104,7 +5104,7 @@ function bytesFromBase64(b64: string): Uint8Array {
}

function base64FromBytes(arr: Uint8Array): string {
if (globalThis.Buffer) {
if ((globalThis as any).Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
} else {
const bin: string[] = [];
Expand Down

0 comments on commit 5b4f3d5

Please sign in to comment.