Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Change celo sdk deps to be peer deps (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
dckesler authored Mar 1, 2023
1 parent 05600b9 commit 190c65e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/payments-cli",
"version": "0.0.12-dev",
"version": "0.0.14-dev",
"description": "CLI interface for the Celo Payments Protocol",
"license": "Apache",
"keywords": [
Expand All @@ -24,8 +24,8 @@
},
"dependencies": {
"@celo/contractkit": "3.2.0",
"@celo/payments-sdk": "0.0.12-dev",
"@celo/payments-types": "0.0.12-dev",
"@celo/payments-sdk": "0.0.14-dev",
"@celo/payments-types": "0.0.14-dev",
"@oclif/command": "^1.8.0",
"@oclif/plugin-help": "^3.2.2",
"bignumber.js": "^9.0.1",
Expand Down
14 changes: 8 additions & 6 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/payments-sdk",
"version": "0.0.12-dev",
"version": "0.0.14-dev",
"description": "TypeScript implementation of the Celo Payments Protocol",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down Expand Up @@ -39,16 +39,18 @@
"node": ">=12"
},
"dependencies": {
"@celo/base": "3.2.0",
"@celo/connect": "3.2.0",
"@celo/contractkit": "3.2.0",
"@celo/payments-types": "0.0.12-dev",
"@celo/payments-utils": "0.0.12-dev",
"@celo/payments-types": "0.0.14-dev",
"@celo/payments-utils": "0.0.14-dev",
"@types/isomorphic-fetch": "^0.0.35",
"ajv": "^6.12.3",
"bignumber.js": "^9.0.1",
"isomorphic-fetch": "^3.0.0"
},
"peerDependencies": {
"@celo/base": ">=2.0.0 <4.0.0",
"@celo/connect": ">=2.0.0 <4.0.0",
"@celo/contractkit": ">=2.0.0 <4.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@celo/payments-server",
"version": "0.0.12-dev",
"version": "0.0.14-dev",
"scripts": {
"start": "ts-node-dev ./bin/index.ts",
"setup": "ts-node-dev bin/setup.ts",
"build": "tsc -b ."
},
"dependencies": {
"@celo/payments-sdk": "0.0.12-dev",
"@celo/payments-types": "0.0.12-dev",
"@celo/payments-utils": "0.0.12-dev",
"@celo/payments-sdk": "0.0.14-dev",
"@celo/payments-types": "0.0.14-dev",
"@celo/payments-utils": "0.0.14-dev",
"@celo/utils": "3.2.0",
"@hapi/hapi": "^20.1.5",
"@types/hapi__hapi": "^20.0.10",
Expand Down
6 changes: 4 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/payments-types",
"version": "0.0.12-dev",
"version": "0.0.14-dev",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -11,9 +11,11 @@
"web-models:build": "ts-node ./scripts/generate-web-models.ts"
},
"dependencies": {
"@celo/utils": "3.2.0",
"bignumber.js": "^9.0.1"
},
"peerDependencies": {
"@celo/utils": ">=2.0.0 <4.0.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.3",
"js-yaml": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/payments-utils",
"version": "0.0.12-dev",
"version": "0.0.14-dev",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -11,7 +11,7 @@
"test:unit": "nyc --silent ava"
},
"dependencies": {
"@celo/payments-types": "0.0.12-dev",
"@celo/payments-types": "0.0.14-dev",
"bignumber.js": "^9.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit 190c65e

Please sign in to comment.