Skip to content

Commit c17dabe

Browse files
authored
Merge pull request #569 from streamich/json-pack
json-pack and base64 repackage
2 parents f35de79 + b0272d9 commit c17dabe

File tree

446 files changed

+318
-21737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+318
-21737
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
}
122122
},
123123
"dependencies": {
124+
"@jsonjoy.com/base64": "^1.1.1",
125+
"@jsonjoy.com/json-pack": "^1.0.1",
124126
"arg": "^5.0.2",
125127
"hyperdyperid": "^1.2.0",
126128
"multibase": "^4.0.6",

src/__tests__/msgpack-documents.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {JsonPackExtension, JsonPackValue} from '../json-pack/msgpack';
2-
import {encodeFull} from '../json-pack/msgpack/util';
1+
import {JsonPackExtension, JsonPackValue} from '@jsonjoy.com/json-pack/lib/msgpack';
2+
import {encodeFull} from '@jsonjoy.com/json-pack/lib/msgpack/util';
33

44
export interface JsonDocument {
55
name: string;

src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
* ```
77
*/
88

9-
export type * from './json-binary/types';
10-
export type * from './json-brand/types';
9+
export type * from '@jsonjoy.com/json-pack/lib/json-binary/types';
10+
export type * from '@jsonjoy.com/json-pack/lib/json-brand/types';
1111
export type * from './json-crdt';
1212
export type * from './json-crdt-patch';
1313
export type * from './json-crdt-extensions';
1414
export type * from './json-expression/types';
15-
export type * from './json-pack/types';
1615
export type * from './json-patch/types';
1716
export type * from './json-pointer/types';
1817
export type * from './json-schema/types';

src/json-binary/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/json-binary/__tests__/automated.spec.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/json-binary/__tests__/stringify.spec.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/json-binary/codec.ts

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/json-binary/constants.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/json-binary/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export * from './types';
2-
export * from './constants';
3-
export * from './codec';
1+
export * from '@jsonjoy.com/json-pack/lib/json-binary';

src/json-binary/types.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)