@farcaster/frame-core 0.1.1 → 0.1.2
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/dist/actions/AddMiniApp.d.ts +3 -3
- package/dist/actions/AddMiniApp.js +1 -1
- package/dist/actions/SignIn.d.ts +2 -2
- package/dist/actions/SignIn.js +1 -1
- package/dist/actions/index.d.ts +9 -9
- package/dist/actions/index.js +9 -9
- package/dist/context.d.ts +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/schemas/embeds.js +9 -9
- package/dist/schemas/events.js +3 -3
- package/dist/schemas/index.d.ts +5 -5
- package/dist/schemas/index.js +5 -5
- package/dist/schemas/manifest.js +22 -22
- package/dist/schemas/notifications.js +2 -2
- package/dist/solanaWire.d.ts +1 -1
- package/dist/types.d.ts +7 -7
- package/dist/types.js +3 -3
- package/dist/wallet/index.d.ts +1 -1
- package/dist/wallet/index.js +1 -1
- package/esm/actions/AddMiniApp.d.ts +3 -3
- package/esm/actions/AddMiniApp.js +1 -1
- package/esm/actions/SignIn.d.ts +2 -2
- package/esm/actions/SignIn.js +1 -1
- package/esm/actions/index.d.ts +9 -9
- package/esm/actions/index.js +9 -9
- package/esm/context.d.ts +1 -1
- package/esm/index.d.ts +9 -9
- package/esm/index.js +9 -9
- package/esm/schemas/embeds.js +1 -1
- package/esm/schemas/events.js +1 -1
- package/esm/schemas/index.d.ts +5 -5
- package/esm/schemas/index.js +5 -5
- package/esm/schemas/manifest.js +2 -2
- package/esm/schemas/notifications.js +1 -1
- package/esm/solanaWire.d.ts +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/esm/types.d.ts +7 -7
- package/esm/types.js +2 -2
- package/esm/wallet/index.d.ts +1 -1
- package/esm/wallet/index.js +1 -1
- package/package.json +2 -2
- package/src/actions/AddMiniApp.ts +3 -3
- package/src/actions/SignIn.ts +2 -2
- package/src/actions/index.ts +9 -9
- package/src/context.ts +1 -1
- package/src/index.ts +9 -9
- package/src/schemas/embeds.ts +1 -1
- package/src/schemas/events.ts +1 -1
- package/src/schemas/index.ts +5 -5
- package/src/schemas/manifest.ts +2 -2
- package/src/schemas/notifications.ts +1 -1
- package/src/solanaWire.ts +1 -1
- package/src/types.ts +7 -7
- package/src/wallet/index.ts +1 -1
package/src/actions/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * as AddMiniApp from './AddMiniApp'
|
|
2
|
-
export * as ComposeCast from './ComposeCast'
|
|
3
|
-
export * as Ready from './Ready'
|
|
4
|
-
export * as SignIn from './SignIn'
|
|
5
|
-
export * as SendToken from './SendToken'
|
|
6
|
-
export * as SwapToken from './SwapToken'
|
|
7
|
-
export * as ViewCast from './ViewCast'
|
|
8
|
-
export * as ViewProfile from './ViewProfile'
|
|
9
|
-
export * as ViewToken from './ViewToken'
|
|
1
|
+
export * as AddMiniApp from './AddMiniApp.ts'
|
|
2
|
+
export * as ComposeCast from './ComposeCast.ts'
|
|
3
|
+
export * as Ready from './Ready.ts'
|
|
4
|
+
export * as SignIn from './SignIn.ts'
|
|
5
|
+
export * as SendToken from './SendToken.ts'
|
|
6
|
+
export * as SwapToken from './SwapToken.ts'
|
|
7
|
+
export * as ViewCast from './ViewCast.ts'
|
|
8
|
+
export * as ViewProfile from './ViewProfile.ts'
|
|
9
|
+
export * as ViewToken from './ViewToken.ts'
|
package/src/context.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './actions'
|
|
2
|
-
export * from './wallet'
|
|
3
|
-
export * as Errors from './errors'
|
|
4
|
-
export * as Context from './context'
|
|
5
|
-
export * as Manifest from './manifest'
|
|
6
|
-
export * from './types'
|
|
7
|
-
export * from './schemas'
|
|
8
|
-
export * from './solana'
|
|
9
|
-
export * from './solanaWire'
|
|
1
|
+
export * from './actions/index.ts'
|
|
2
|
+
export * from './wallet/index.ts'
|
|
3
|
+
export * as Errors from './errors.ts'
|
|
4
|
+
export * as Context from './context.ts'
|
|
5
|
+
export * as Manifest from './manifest.ts'
|
|
6
|
+
export * from './types.ts'
|
|
7
|
+
export * from './schemas/index.ts'
|
|
8
|
+
export * from './solana.ts'
|
|
9
|
+
export * from './solanaWire.ts'
|
package/src/schemas/embeds.ts
CHANGED
package/src/schemas/events.ts
CHANGED
package/src/schemas/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './embeds'
|
|
2
|
-
export * from './events'
|
|
3
|
-
export * from './shared'
|
|
4
|
-
export * from './manifest'
|
|
5
|
-
export * from './notifications'
|
|
1
|
+
export * from './embeds.ts'
|
|
2
|
+
export * from './events.ts'
|
|
3
|
+
export * from './shared.ts'
|
|
4
|
+
export * from './manifest.ts'
|
|
5
|
+
export * from './notifications.ts'
|
package/src/schemas/manifest.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
|
-
import { miniAppHostCapabilityList } from '../types'
|
|
2
|
+
import { miniAppHostCapabilityList } from '../types.ts'
|
|
3
3
|
import {
|
|
4
4
|
buttonTitleSchema,
|
|
5
5
|
createSimpleStringSchema,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
frameNameSchema,
|
|
8
8
|
hexColorSchema,
|
|
9
9
|
secureUrlSchema,
|
|
10
|
-
} from './shared'
|
|
10
|
+
} from './shared.ts'
|
|
11
11
|
|
|
12
12
|
const primaryCategorySchema = z.enum([
|
|
13
13
|
'games',
|
package/src/solanaWire.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type {
|
|
|
14
14
|
SolanaWireRequestFn,
|
|
15
15
|
SolanaWireSignAndSendTransactionRequestArguments,
|
|
16
16
|
SolanaWireSignTransactionRequestArguments,
|
|
17
|
-
} from './solana'
|
|
17
|
+
} from './solana.ts'
|
|
18
18
|
|
|
19
19
|
function serializeTransaction(transaction: SolanaCombinedTransaction): string {
|
|
20
20
|
return Buffer.from(
|
package/src/types.ts
CHANGED
|
@@ -8,16 +8,16 @@ import type {
|
|
|
8
8
|
ViewCast,
|
|
9
9
|
ViewProfile,
|
|
10
10
|
ViewToken,
|
|
11
|
-
} from './actions'
|
|
12
|
-
import type { FrameContext } from './context'
|
|
11
|
+
} from './actions/index.ts'
|
|
12
|
+
import type { FrameContext } from './context.ts'
|
|
13
13
|
import type {
|
|
14
14
|
EventFrameAdded,
|
|
15
15
|
EventFrameRemoved,
|
|
16
16
|
EventNotificationsDisabled,
|
|
17
17
|
EventNotificationsEnabled,
|
|
18
|
-
} from './schemas'
|
|
19
|
-
import type { SolanaRequestFn, SolanaWireRequestFn } from './solana'
|
|
20
|
-
import type { Ethereum } from './wallet'
|
|
18
|
+
} from './schemas/index.ts'
|
|
19
|
+
import type { SolanaRequestFn, SolanaWireRequestFn } from './solana.ts'
|
|
20
|
+
import type { Ethereum } from './wallet/index.ts'
|
|
21
21
|
|
|
22
22
|
export type SetPrimaryButtonOptions = {
|
|
23
23
|
text: string
|
|
@@ -27,8 +27,8 @@ export type SetPrimaryButtonOptions = {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// start backwards compat, remove in 1.0
|
|
30
|
-
export * from './wallet/ethereum'
|
|
31
|
-
export { DEFAULT_READY_OPTIONS, ReadyOptions } from './actions/Ready'
|
|
30
|
+
export * from './wallet/ethereum.ts'
|
|
31
|
+
export { DEFAULT_READY_OPTIONS, ReadyOptions } from './actions/Ready.ts'
|
|
32
32
|
export type SignInOptions = SignIn.SignInOptions
|
|
33
33
|
// end backwards compat
|
|
34
34
|
|
package/src/wallet/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Ethereum from './ethereum'
|
|
1
|
+
export * as Ethereum from './ethereum.ts'
|