@farcaster/create-mini-app 0.1.0 → 0.1.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @farcaster/create-mini-app
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#509](https://github.com/farcasterxyz/miniapps/pull/509) [`7cd3967`](https://github.com/farcasterxyz/miniapps/commit/7cd3967047b01307bbd47e7cff7dad85e94e19ed) Thanks [@obxium](https://github.com/obxium)! - Update create-mini-app template to use @farcaster/miniapp-sdk
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { init, type InitParameters } from './init.js';
1
+ export { type InitParameters, init } from './init.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,IAAI,EAAE,MAAM,WAAW,CAAA"}
package/index.ts CHANGED
@@ -1 +1 @@
1
- export { init, type InitParameters } from './init.js'
1
+ export { type InitParameters, init } from './init.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farcaster/create-mini-app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Create Farcaster Mini Apps with one command",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1,13 +1,26 @@
1
1
  {
2
+ "root": false,
2
3
  "formatter": {
3
4
  "enabled": true,
4
5
  "indentStyle": "space",
5
6
  "lineWidth": 120
6
7
  },
7
8
  "linter": {
8
- "enabled": true
9
+ "enabled": true,
10
+ "rules": {
11
+ "style": {
12
+ "noParameterAssign": "error",
13
+ "useAsConstAssertion": "error",
14
+ "useDefaultParameterLast": "error",
15
+ "useEnumInitializers": "error",
16
+ "useSelfClosingElements": "error",
17
+ "useSingleVarDeclarator": "error",
18
+ "noUnusedTemplateLiteral": "error",
19
+ "useNumberNamespace": "error",
20
+ "noInferrableTypes": "error",
21
+ "noUselessElse": "error"
22
+ }
23
+ }
9
24
  },
10
- "organizeImports": {
11
- "enabled": true
12
- }
25
+ "assist": { "actions": { "source": { "organizeImports": "on" } } }
13
26
  }
@@ -10,8 +10,8 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@farcaster/frame-sdk": "latest",
14
- "@farcaster/frame-wagmi-connector": "latest",
13
+ "@farcaster/miniapp-sdk": "latest",
14
+ "@farcaster/miniapp-wagmi-connector": "latest",
15
15
  "@tanstack/react-query": "5.45.1",
16
16
  "react": "^18.3.1",
17
17
  "react-dom": "^18.3.1",
@@ -1,4 +1,4 @@
1
- import { sdk } from "@farcaster/frame-sdk";
1
+ import { sdk } from "@farcaster/miniapp-sdk";
2
2
  import { useEffect } from "react";
3
3
  import { useAccount, useConnect, useSignMessage } from "wagmi";
4
4
 
@@ -1,10 +1,10 @@
1
- import { farcasterFrame } from "@farcaster/frame-wagmi-connector";
1
+ import { farcasterMiniApp as miniAppConnector } from "@farcaster/miniapp-wagmi-connector";
2
2
  import { http, createConfig } from "wagmi";
3
3
  import { base, mainnet } from "wagmi/chains";
4
4
 
5
5
  export const config = createConfig({
6
6
  chains: [base, mainnet],
7
- connectors: [farcasterFrame()],
7
+ connectors: [miniAppConnector()],
8
8
  transports: {
9
9
  [base.id]: http(),
10
10
  [mainnet.id]: http(),
@@ -1,9 +0,0 @@
1
-
2
- 
3
- > @farcaster/create-mini-app@0.1.0 build /Users/deodad/Repos/miniapps/packages/create-mini-app
4
- > pnpm run clean && tsc --project tsconfig.build.json
5
-
6
-
7
- > @farcaster/create-mini-app@0.1.0 clean /Users/deodad/Repos/miniapps/packages/create-mini-app
8
- > rm -rf dist tsconfig.tsbuildinfo
9
-