@cartridge/controller
Advanced tools
Comparing version 0.3.21 to 0.3.22
@@ -9,8 +9,9 @@ export * from "./types"; | ||
import { createModal } from "./modal"; | ||
import nodeUrl from "./nodeUrl"; | ||
export const providers = { | ||
[constants.StarknetChainId.SN_MAIN]: new RpcProvider({ | ||
nodeUrl: process.env.NEXT_PUBLIC_RPC_MAINNET, | ||
nodeUrl: nodeUrl.mainnet, | ||
}), | ||
[constants.StarknetChainId.SN_SEPOLIA]: new RpcProvider({ | ||
nodeUrl: process.env.NEXT_PUBLIC_RPC_SEPOLIA, | ||
nodeUrl: nodeUrl.sepolia, | ||
}), | ||
@@ -17,0 +18,0 @@ }; |
{ | ||
"name": "@cartridge/controller", | ||
"version": "0.3.21", | ||
"version": "0.3.22", | ||
"description": "Cartridge Controller", | ||
@@ -22,9 +22,9 @@ "module": "dist/index.js", | ||
"typescript": "^5.4.5", | ||
"@cartridge/tsconfig": "^0.3.21" | ||
"@cartridge/tsconfig": "^0.3.22" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"dev": "tsc", | ||
"build": "NODE_ENV=production tsc", | ||
"dev": "NODE_ENV=development tsc", | ||
"format": "prettier --write \"src/**/*.ts\"" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
69338
32
1072
2