New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ic-use-actor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ic-use-actor - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

dist/canisterStatus-5Z72ZDTM.js

12

build.js

@@ -6,13 +6,7 @@ import esbuild from "esbuild";

bundle: true,
outfile: "dist/index.jsx",
outdir: "dist",
format: "esm",
minify: true,
external: [
"react",
"react-dom",
"@dfinity/agent",
"@dfinity/identity",
"@dfinity/candid",
],
splitting: true,
external: ["react", "react-dom"],
plugins: [],
});

@@ -10,2 +10,9 @@ # Changelog

## [0.0.5] - 2024-01-18
### Changed
- Moved @dfinity/xxx dependencies from peerDependencies to dependencies because of bundling issues. This grows package size but prevents bundling issues in consuming apps.
- Minor refactoring.
## [0.0.4] - 2024-01-18

@@ -12,0 +19,0 @@

{
"name": "ic-use-actor",
"version": "0.0.4",
"version": "0.0.5",
"description": "React Hook and context provider to make interacting with Internet Computer canisters more fun!",

@@ -22,3 +22,3 @@ "author": "Kristofer Lund <kristofer@kristoferlund.se>",

"license": "MIT",
"main": "dist/index.jsx",
"main": "dist/index.js",
"scripts": {

@@ -33,12 +33,10 @@ "clean": "rm -rf dist",

},
"dependencies": {
"@dfinity/agent": ">=0.20.0",
"@dfinity/candid": ">=0.20.0"
},
"peerDependencies": {
"@dfinity/agent": ">=0.20.0",
"@dfinity/candid": ">=0.20.0",
"@dfinity/identity": ">=0.20.0",
"react": ">=18.0.0"
},
"devDependencies": {
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/identity": "^0.20.2",
"@types/node": "^20.10.6",

@@ -45,0 +43,0 @@ "@types/react": "^18.2.39",

@@ -34,10 +34,4 @@ # ic-use-actor

In addition to `ic-use-actor`, the following packages are required:
- `@dfinity/agent`
- `@dfinity/identity`
- `@dfinity/candid`
```bash
npm install ic-use-actor @dfinity/agent @dfinity/identity @dfinity/candid
npm install ic-use-actor
```

@@ -44,0 +38,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc