@filoz/synapse-react 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { getOrInstallSnap } from 'filsnap-adapter';
1
+ import { getOrInstallSnap } from '@hugomrdias/filsnap-adapter';
2
2
  import { useAccountEffect } from 'wagmi';
3
3
  const SNAP_ID = 'npm:filsnap';
4
4
  export const useFilsnap = ({ version, force } = {}) => {
@@ -1 +1 @@
1
- {"version":3,"file":"filsnap.js","sourceRoot":"","sources":["../../src/filsnap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAExC,MAAM,OAAO,GAAG,aAAa,CAAA;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,KAA4C,EAAE,EAAE,EAAE;IAC3F,gBAAgB,CAAC;QACf,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YACxB,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAoB,CAAA;YACxE,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;gBACxB,MAAM,gBAAgB,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,KAAK,CAAC,CAAA;YAClE,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"filsnap.js","sourceRoot":"","sources":["../../src/filsnap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAExC,MAAM,OAAO,GAAG,aAAa,CAAA;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,KAA4C,EAAE,EAAE,EAAE;IAC3F,gBAAgB,CAAC;QACf,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YACxB,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAoB,CAAA;YACxE,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;gBACxB,MAAM,gBAAgB,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,KAAK,CAAC,CAAA;YAClE,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filoz/synapse-react",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "React hooks for interacting with Filecoin Onchain Cloud smart contracts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,11 +65,11 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "filsnap-adapter": "^3.3.8",
69
- "@filoz/synapse-core": "^0.1.2"
68
+ "@hugomrdias/filsnap-adapter": "^3.3.8",
69
+ "@filoz/synapse-core": "^0.1.4"
70
70
  },
71
71
  "devDependencies": {
72
- "@biomejs/biome": "2.3.3",
72
+ "@biomejs/biome": "2.3.8",
73
73
  "@types/node": "^24.9.1",
74
74
  "type-fest": "^5.1.0",
75
75
  "typescript": "5.9.3"
package/src/filsnap.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type EIP1193Provider, getOrInstallSnap } from 'filsnap-adapter'
1
+ import { type EIP1193Provider, getOrInstallSnap } from '@hugomrdias/filsnap-adapter'
2
2
  import { useAccountEffect } from 'wagmi'
3
3
 
4
4
  const SNAP_ID = 'npm:filsnap' //'local:http://localhost:8080'