@splitbee/core
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -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 { |
{ | ||
"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
110298
585