Skip to content

Commit

Permalink
Merge pull request WebOfTrust#214 from lenkan/fix-remove-window-buffe…
Browse files Browse the repository at this point in the history
…r-assignment

fix: remove window.Buffer assignment
  • Loading branch information
pfeairheller authored Feb 14, 2024
2 parents cedee3a + b9b1029 commit ec97594
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/buffer-polyfill.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import './buffer-polyfill';
import * as exp from './exports';
export * from './exports';
export default exp;
1 change: 1 addition & 0 deletions src/keri/core/bexter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BexDex, Matter, MatterArgs, MtrDex } from './matter';
import { EmptyMaterialError } from './kering';
import Base64 from 'urlsafe-base64';
import { Buffer } from 'buffer';

const B64REX = '^[A-Za-z0-9\\-_]*$';
export const Reb64 = new RegExp(B64REX);
Expand Down
2 changes: 1 addition & 1 deletion src/keri/core/diger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { blake3 } from '@noble/hashes/blake3';

import { Buffer } from 'buffer';
import { Matter, MatterArgs, MtrDex } from './matter';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/keri/core/prefixer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EmptyMaterialError } from './kering';
import { Dict, Ilks } from './core';
import { sizeify } from './serder';
import { Verfer } from './verfer';

import { Buffer } from 'buffer';
import { blake3 } from '@noble/hashes/blake3';

const Dummy: string = '#';
Expand Down
2 changes: 1 addition & 1 deletion src/keri/core/saider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DigiDex, Matter, MatterArgs, MtrDex } from './matter';
import { deversify, Dict, Serials } from './core';
import { EmptyMaterialError } from './kering';
import { dumps, sizeify } from './serder';

import { Buffer } from 'buffer';
import { blake3 } from '@noble/hashes/blake3';

const Dummy = '#';
Expand Down

0 comments on commit ec97594

Please sign in to comment.