Socket
Socket
Sign inDemoInstall

@splitbee/core

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

17

dist/api.d.ts

@@ -0,1 +1,17 @@

export declare type Device = {
os: {
name: 'ios' | 'android';
version: string;
};
client: {
name: string;
type: string;
version: string;
};
device: {
type: string;
brand: string;
model: string;
};
};
export interface RequestContext {

@@ -6,2 +22,3 @@ projectId?: string;

userAgent?: string;
device?: {};
}

@@ -8,0 +25,0 @@ interface GenericRequest {

2

package.json
{
"name": "@splitbee/core",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -0,1 +1,34 @@

export type Device = {
os: { name: 'ios' | 'android'; version: string };
client: {
name: string; //'Opera';
type: string; //'browser';
// engine: 'Blink';
// engineVersion: '';
version: string; //'73.0';
};
device: {
type: string; //'desktop';
brand: string; // 'Apple';
model: string; // '';
};
};
// const test : Device = {
// os: {
// name:"ios",
// version: "14.1.0"
// },
// client: {
// name:'Api',
// type:"app",
// version: "12.12.12"
// },
// device: {
// type:"phone",
// brand:"apple",
// model:""
// }
// }
export interface RequestContext {

@@ -6,2 +39,3 @@ projectId?: string;

userAgent?: string;
device?: {};
}

@@ -8,0 +42,0 @@ interface GenericRequest {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc