Skip to content

Commit

Permalink
refactor(sdk): renamed sdk package to api client
Browse files Browse the repository at this point in the history
Signed-off-by: yash2189 <yashajgaonkar24@gmail.com>
  • Loading branch information
yash2189 authored and petermetz committed Oct 26, 2020
1 parent b473a32 commit b70266b
Show file tree
Hide file tree
Showing 31 changed files with 20 additions and 20 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `@hyperledger/cactus-sdk`
# `@hyperledger/cactus-api-client`

> TODO: description
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@hyperledger/cactus-sdk",
"name": "@hyperledger/cactus-api-client",
"version": "0.2.0",
"description": "Universal library used by both front end and back end components of Cactus. Aims to be a developer swiss army knife.",
"main": "dist/cactus-sdk.node.umd.js",
"mainMinified": "dist/cactus-sdk.node.umd.min.js",
"browser": "dist/cactus-sdk.web.umd.js",
"browserMinified": "dist/cactus-sdk.web.umd.min.js",
"main": "dist/cactus-api-client.node.umd.js",
"mainMinified": "dist/cactus-api-client.node.umd.min.js",
"browser": "dist/cactus-api-client.web.umd.js",
"browserMinified": "dist/cactus-api-client.web.umd.min.js",
"module": "dist/lib/main/typescript/index.js",
"types": "dist/types/main/typescript/index.d.ts",
"files": [
Expand Down Expand Up @@ -70,4 +70,4 @@
"devDependencies": {
"@types/joi": "14.3.4"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/cactus-cockpit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@capacitor/core": "1.5.1",
"@hyperledger/cactus-common": "0.2.0",
"@hyperledger/cactus-plugin-consortium-manual": "0.2.0",
"@hyperledger/cactus-sdk": "0.2.0",
"@hyperledger/cactus-api-client": "0.2.0",
"@ionic-native/core": "5.0.0",
"@ionic-native/splash-screen": "5.0.0",
"@ionic-native/status-bar": "5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-cockpit/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { StatusBar } from "@ionic-native/status-bar/ngx";

import { LoggerProvider, Logger } from "@hyperledger/cactus-common";
import { DefaultApi as DefaultApiConsortium } from "@hyperledger/cactus-plugin-consortium-manual";
import { ApiClient, Configuration } from "@hyperledger/cactus-sdk";
import { ApiClient, Configuration } from "@hyperledger/cactus-api-client";
import { CACTUS_API_URL } from "src/constants";

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
LoggerProvider,
ILoggerOptions,
} from "@hyperledger/cactus-common";
import { Configuration, ApiClient } from "@hyperledger/cactus-sdk";
import { Configuration, ApiClient } from "@hyperledger/cactus-api-client";
import {
DefaultApi as PluginConsortiumManualApi,
JWSGeneral,
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-plugin-consortium-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"devDependencies": {
"@hyperledger/cactus-plugin-kv-storage-memory": "0.2.0",
"@hyperledger/cactus-sdk": "0.2.0",
"@hyperledger/cactus-api-client": "0.2.0",
"@types/express": "4.17.6",
"@types/joi": "14.3.4",
"@types/json-stable-stringify": "1.0.32",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Request, Response, NextFunction } from "express";
import { JWS, JWK } from "jose";
import flatten from "lodash/flatten";

import { ApiClient } from "@hyperledger/cactus-sdk";
import { ApiClient } from "@hyperledger/cactus-api-client";
import {
IWebServiceEndpoint,
IExpressRequestHandler,
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-test-plugin-consortium-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@hyperledger/cactus-plugin-consortium-manual": "^0.2.0",
"@hyperledger/cactus-plugin-kv-storage-memory": "0.2.0",
"@hyperledger/cactus-plugin-ledger-connector-quorum": "^0.2.0",
"@hyperledger/cactus-sdk": "0.2.0",
"@hyperledger/cactus-api-client": "0.2.0",
"axios": "0.19.2",
"joi": "14.3.1",
"jose": "1.27.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { JWK, JWS } from "jose";
import { v4 as uuidV4 } from "uuid";

import { ApiServer, ConfigService } from "@hyperledger/cactus-cmd-api-server";
import { Configuration, ApiClient } from "@hyperledger/cactus-sdk";
import { Configuration, ApiClient } from "@hyperledger/cactus-api-client";
import {
IPluginConsortiumManualOptions,
PluginConsortiumManual,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
DefaultApi,
Configuration,
HealthCheckResponse,
} from "@hyperledger/cactus-sdk";
} from "@hyperledger/cactus-api-client";
import {
DefaultApi as DefaultApiPlugin,
Configuration as ConfigurationPlugin,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@hyperledger/cactus-core-api": "^0.2.0",
"@hyperledger/cactus-plugin-kv-storage-memory": "0.2.0",
"@hyperledger/cactus-plugin-ledger-connector-quorum": "^0.2.0",
"@hyperledger/cactus-sdk": "0.2.0",
"@hyperledger/cactus-api-client": "0.2.0",
"axios": "0.19.2",
"joi": "14.3.1",
"typescript-optional": "2.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
DefaultApi,
Configuration,
HealthCheckResponse,
} from "@hyperledger/cactus-sdk";
} from "@hyperledger/cactus-api-client";

const log: Logger = LoggerProvider.getOrCreate({
label: "test-deploy-contract-via-web-service",
Expand Down
2 changes: 1 addition & 1 deletion packages/cactus-test-plugin-validator-besu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@hyperledger/cactus-common": "0.2.0",
"@hyperledger/cactus-core-api": "0.2.0",
"@hyperledger/cactus-plugin-validator-besu": "0.2.0",
"@hyperledger/cactus-sdk": "0.2.0",
"@hyperledger/cactus-api-client": "0.2.0",
"@hyperledger/cactus-test-tooling": "0.2.0",
"key-encoder": "2.0.3",
"web3": "1.2.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
JsObjectSigner,
IJsObjectSignerOptions,
} from "@hyperledger/cactus-common";
import { Configuration, ApiClient } from "@hyperledger/cactus-sdk";
import { Configuration, ApiClient } from "@hyperledger/cactus-api-client";
import { BesuTestLedger } from "@hyperledger/cactus-test-tooling";
import {
IPluginValidatorBesuOptions,
Expand Down

0 comments on commit b70266b

Please sign in to comment.