Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Simpler core library plus path to deprecation #464

Merged
merged 8 commits into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/google-protobuf": "^3.7.2",
"@types/multibase": "^0.6.0",
"@types/to-json-schema": "^0.2.0",
"cids": "^0.8.0",
"cids": "^0.8.3",
"google-protobuf": "^3.10.0",
"to-json-schema": "^0.2.5"
},
Expand Down
186 changes: 5 additions & 181 deletions packages/core/package-lock.json

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

6 changes: 1 addition & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,18 @@
}
],
"devDependencies": {
"cids": "^0.8.0",
"rimraf": "^3.0.0",
"typescript": "^3.7.2"
},
"dependencies": {
"@ipld/block": "^6.0.1",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plus this out of core, should be much easier to consume core externally now.

"cids": "^0.8.3",
"@textile/multiaddr": "^0.0.24",
"@textile/threads-crypto": "^0.1.4",
"@textile/threads-id": "^0.1.13",
"@types/multiaddr": "^7.2.0",
"@types/multibase": "^0.6.0",
"@types/node": "^14.0.5",
"@types/varint": "^5.0.0",
"multiaddr": "^7.4.2",
"multibase": "^1.0.1",
"multihashes": "1.0.1",
"varint": "^5.0.0"
},
"gitHead": "696e9d9dd45fbea8ec6bacb3c7f673c45c1bc12a"
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { keys, PrivateKey, PublicKey } from "@textile/threads-crypto"

export * from "./identity"
export { Block } from "./ipld"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't export this anymore, so if used elsewhere, they'll have to be updated.

export * from "./network"
export * from "./thread"

export const marshalKey = (key: PublicKey | PrivateKey): Uint8Array => {
Expand Down
48 changes: 0 additions & 48 deletions packages/core/src/network/event.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/core/src/network/index.ts

This file was deleted.

Loading