Skip to content

Commit

Permalink
use @tari-project npm scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnaveira committed Jul 26, 2024
1 parent fa004fb commit 2451673
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 36 deletions.
51 changes: 25 additions & 26 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tariproject/tarijs",
"name": "@tari-project/tarijs",
"version": "0.1.19",
"description": "",
"main": "./dist/index.js",
Expand All @@ -14,8 +14,8 @@
"license": "ISC",
"dependencies": {
"@metamask/providers": "^9.0.0",
"@tariproject/wallet_jrpc_client": "^1.0.6",
"@tariproject/typescript-bindings": "^1.0.2"
"@tari-project/wallet_jrpc_client": "^1.0.7",
"@tari-project/typescript-bindings": "^1.0.3"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export default {
nodeResolve(),
typescript(),
],
external: ["@tariproject/wallet_jrpc_client", "@metamask/providers"]
external: ["@tari-project/wallet_jrpc_client", "@metamask/providers"]
}
2 changes: 1 addition & 1 deletion src/providers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { SubstateType } from "@tariproject/typescript-bindings";
import type { SubstateType } from "@tari-project/typescript-bindings";
import {
Account,
SubmitTransactionRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/providers/metamask/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {MetaMaskInpageProvider} from '@metamask/providers';
import {connectSnap, getSnap, isFlask, Snap} from "./utils";
import {Maybe} from "@metamask/providers/dist/utils";
import {Account} from "../types";
import { SubstateType } from "@tariproject/typescript-bindings";
import { SubstateType } from "@tari-project/typescript-bindings";

export const MetamaskNotInstalled = 'METAMASK_NOT_INSTALLED';
export const MetamaskIsNotFlask = 'METAMASK_IS_NOT_FLASK';
Expand Down
2 changes: 1 addition & 1 deletion src/providers/tari_universe/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
WindowSize,
} from "./types";
import { TariProvider } from "../index";
import { AccountsGetBalancesResponse, SubstateType } from "@tariproject/wallet_jrpc_client";
import { AccountsGetBalancesResponse, SubstateType } from "@tari-project/wallet_jrpc_client";

export class TariUniverseProvider implements TariProvider {
public providerName = "TariUniverse";
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wallet_daemon/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
SubstateType,
SubstatesListRequest,
KeyBranch,
} from "@tariproject/wallet_jrpc_client";
} from "@tari-project/wallet_jrpc_client";
import {WebRtcRpcTransport} from "./webrtc_transport";

export const WalletDaemonNotConnected = 'WALLET_DAEMON_NOT_CONNECTED';
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wallet_daemon/webrtc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {TariPermissions} from "./tari_permissions";
import {transports} from "@tariproject/wallet_jrpc_client";
import {transports} from "@tari-project/wallet_jrpc_client";

class SignaligServer {
private _token?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wallet_daemon/webrtc_transport.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {transports} from "@tariproject/wallet_jrpc_client";
import {transports} from "@tari-project/wallet_jrpc_client";
import {TariConnection} from "./webrtc";

export class WebRtcRpcTransport implements transports.RpcTransport {
Expand Down

0 comments on commit 2451673

Please sign in to comment.