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

@farcaster/frame-core

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@farcaster/frame-core - npm Package Compare versions

Comparing version

to
0.0.18

dist/actions/signIn.d.ts

1

dist/index.d.ts

@@ -0,2 +1,3 @@

export * as SignIn from "./actions/signIn";
export * from "./types";
export * from "./schemas";

@@ -13,2 +13,24 @@ "use strict";

}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __exportStar = (this && this.__exportStar) || function(m, exports) {

@@ -18,3 +40,5 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);

Object.defineProperty(exports, "__esModule", { value: true });
exports.SignIn = void 0;
exports.SignIn = __importStar(require("./actions/signIn"));
__exportStar(require("./types"), exports);
__exportStar(require("./schemas"), exports);
import type { Address, Provider, RpcRequest, RpcResponse, RpcSchema } from "ox";
import { FrameNotificationDetails } from "./schemas";
import * as SignIn from "./actions/signIn";
export type SetPrimaryButton = (options: {

@@ -71,2 +72,29 @@ text: string;

export declare const DEFAULT_READY_OPTIONS: ReadyOptions;
export type SignInOptions = {
/**
* A random string used to prevent replay attacks.
*/
nonce: string;
/**
* Start time at which the signature becomes valid.
* ISO 8601 datetime.
*/
notBefore?: string;
/**
* Expiration time at which the signature is no longer valid.
* ISO 8601 datetime.
*/
expirationTime?: string;
};
export type WireFrameHost = {
context: FrameContext;
close: () => void;
ready: (options?: Partial<ReadyOptions>) => void;
openUrl: (url: string) => void;
signIn: SignIn.WireSignIn;
setPrimaryButton: SetPrimaryButton;
ethProviderRequest: EthProviderRequest;
ethProviderRequestV2: RpcTransport;
addFrame: AddFrame;
};
export type FrameHost = {

@@ -77,2 +105,3 @@ context: FrameContext;

openUrl: (url: string) => void;
signIn: SignIn.SignIn;
setPrimaryButton: SetPrimaryButton;

@@ -79,0 +108,0 @@ ethProviderRequest: EthProviderRequest;

@@ -0,2 +1,3 @@

export * as SignIn from "./actions/signIn";
export * from "./types";
export * from "./schemas";

@@ -0,2 +1,3 @@

export * as SignIn from "./actions/signIn";
export * from "./types";
export * from "./schemas";
import type { Address, Provider, RpcRequest, RpcResponse, RpcSchema } from "ox";
import { FrameNotificationDetails } from "./schemas";
import * as SignIn from "./actions/signIn";
export type SetPrimaryButton = (options: {

@@ -71,2 +72,29 @@ text: string;

export declare const DEFAULT_READY_OPTIONS: ReadyOptions;
export type SignInOptions = {
/**
* A random string used to prevent replay attacks.
*/
nonce: string;
/**
* Start time at which the signature becomes valid.
* ISO 8601 datetime.
*/
notBefore?: string;
/**
* Expiration time at which the signature is no longer valid.
* ISO 8601 datetime.
*/
expirationTime?: string;
};
export type WireFrameHost = {
context: FrameContext;
close: () => void;
ready: (options?: Partial<ReadyOptions>) => void;
openUrl: (url: string) => void;
signIn: SignIn.WireSignIn;
setPrimaryButton: SetPrimaryButton;
ethProviderRequest: EthProviderRequest;
ethProviderRequestV2: RpcTransport;
addFrame: AddFrame;
};
export type FrameHost = {

@@ -77,2 +105,3 @@ context: FrameContext;

openUrl: (url: string) => void;
signIn: SignIn.SignIn;
setPrimaryButton: SetPrimaryButton;

@@ -79,0 +108,0 @@ ethProviderRequest: EthProviderRequest;

2

package.json
{
"name": "@farcaster/frame-core",
"version": "0.0.17",
"version": "0.0.18",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "esm/index.js",

@@ -0,2 +1,3 @@

export * as SignIn from "./actions/signIn";
export * from "./types";
export * from "./schemas";

@@ -1,3 +0,4 @@

import type { Address, Provider, RpcRequest, RpcResponse, RpcSchema } from "ox";
import type { Address, Provider, RpcRequest, RpcResponse, RpcSchema, Siwe } from "ox";
import { FrameNotificationDetails } from "./schemas";
import * as SignIn from "./actions/signIn";

@@ -91,2 +92,33 @@ export type SetPrimaryButton = (options: {

export type SignInOptions = {
/**
* A random string used to prevent replay attacks.
*/
nonce: string;
/**
* Start time at which the signature becomes valid.
* ISO 8601 datetime.
*/
notBefore?: string;
/**
* Expiration time at which the signature is no longer valid.
* ISO 8601 datetime.
*/
expirationTime?: string;
};
export type WireFrameHost = {
context: FrameContext;
close: () => void;
ready: (options?: Partial<ReadyOptions>) => void;
openUrl: (url: string) => void;
signIn: SignIn.WireSignIn;
setPrimaryButton: SetPrimaryButton;
ethProviderRequest: EthProviderRequest;
ethProviderRequestV2: RpcTransport;
addFrame: AddFrame;
};
export type FrameHost = {

@@ -97,2 +129,3 @@ context: FrameContext;

openUrl: (url: string) => void;
signIn: SignIn.SignIn;
setPrimaryButton: SetPrimaryButton;

@@ -99,0 +132,0 @@ ethProviderRequest: EthProviderRequest;

Sorry, the diff of this file is not supported yet