@qiwi/substrate-types
Advanced tools
Comparing version 1.49.0 to 1.50.0
{ | ||
"git": { | ||
"commitId": "d47ab598f0be4f853f56aa5d9feaf583be38a539", | ||
"commitId": "f227cc03e78e550f718beb6fc3bdb04b1de74158", | ||
"repoUrl": "https://github.com/qiwi/substrate.git", | ||
"repoName": "qiwi/substrate" | ||
}, | ||
"date": "2021-03-30T14:28:18.497Z" | ||
"date": "2021-03-31T13:02:16.943Z" | ||
} |
@@ -0,1 +1,9 @@ | ||
# @qiwi/substrate-types [1.50.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.49.0...@qiwi/substrate-types@1.50.0) (2021-03-31) | ||
### Features | ||
* add userAgent to TClientEventMeta ([70df225](https://github.com/qiwi/substrate/commit/70df225cc3e809364ee38a9cd114314fa2b031d6)) | ||
* update IDeviceInfo ([#417](https://github.com/qiwi/substrate/issues/417)) ([f227cc0](https://github.com/qiwi/substrate/commit/f227cc03e78e550f718beb6fc3bdb04b1de74158)) | ||
# @qiwi/substrate-types [1.49.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.48.0...@qiwi/substrate-types@1.49.0) (2021-03-30) | ||
@@ -2,0 +10,0 @@ |
@@ -146,4 +146,3 @@ /** | ||
IDeviceInfo, | ||
IBrowserInfo, | ||
IOperationalSystemInfo, | ||
IDeviceInfoStrict, | ||
} from "@qiwi/substrate-types/target/es5/IDeviceInfo"; | ||
@@ -275,4 +274,3 @@ } | ||
IDeviceInfo as DeviceInfo, | ||
IBrowserInfo as BrowserInfo, | ||
IOperationalSystemInfo as OperationalSystemInfo, | ||
IDeviceInfoStrict as DeviceInfoStrict, | ||
} from "@qiwi/substrate-types/target/es5/IDeviceInfo"; | ||
@@ -810,3 +808,4 @@ } | ||
envProfile: $Values<typeof EnvironmentProfile>, | ||
deviceInfo: IDeviceInfo & { [key: string]: any, ... }, | ||
deviceInfo: IDeviceInfo, | ||
userAgent: string, | ||
... | ||
@@ -962,16 +961,16 @@ }>; | ||
}>; | ||
declare export type IUserAgent = string; | ||
declare export type IDeviceInfoStrict = RecursivePartial<{ | ||
browser: IBrowserInfo, | ||
model: { | ||
name: string | null, | ||
manufacturer: string | null, | ||
... | ||
}, | ||
isMobile: boolean, | ||
os: IOperationalSystemInfo, | ||
... | ||
}>; | ||
declare export type IDeviceInfo = | ||
| RecursivePartial<{ | ||
browser: IBrowserInfo, | ||
model: { | ||
name: string | null, | ||
manufacturer: string | null, | ||
... | ||
}, | ||
isMobile: boolean, | ||
os: IOperationalSystemInfo, | ||
... | ||
}> | ||
| IUserAgent; | ||
| IDeviceInfoStrict | ||
| { [key: string]: any, ... }; | ||
} | ||
@@ -978,0 +977,0 @@ |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.49.0", | ||
"version": "1.50.0", | ||
"main": "target/es5/index.js", | ||
@@ -5,0 +5,0 @@ "source": "target/ts/index.ts", |
@@ -33,2 +33,2 @@ export { IStringMap as StringMap } from './IStringMap'; | ||
export { IExecutionMode as ExecutionMode } from './IExecutionMode'; | ||
export { IDeviceInfo as DeviceInfo, IBrowserInfo as BrowserInfo, IOperationalSystemInfo as OperationalSystemInfo, } from './IDeviceInfo'; | ||
export { IDeviceInfo as DeviceInfo, IDeviceInfoStrict as DeviceInfoStrict } from './IDeviceInfo'; |
@@ -33,2 +33,2 @@ export { IStringMap } from './IStringMap'; | ||
export { IExecutionMode } from './IExecutionMode'; | ||
export { IDeviceInfo, IBrowserInfo, IOperationalSystemInfo, } from './IDeviceInfo'; | ||
export { IDeviceInfo, IDeviceInfoStrict } from './IDeviceInfo'; |
@@ -18,3 +18,4 @@ import { RecursivePartial } from './helpers'; | ||
envProfile: EnvironmentProfile; | ||
deviceInfo: IDeviceInfo & Record<string, any>; | ||
deviceInfo: IDeviceInfo; | ||
userAgent: string; | ||
}>; | ||
@@ -21,0 +22,0 @@ export declare type IClientEventMeta = TClientEventMeta; |
@@ -13,4 +13,3 @@ import { RecursivePartial } from './helpers'; | ||
}>; | ||
export declare type IUserAgent = string; | ||
export declare type IDeviceInfo = RecursivePartial<{ | ||
export declare type IDeviceInfoStrict = RecursivePartial<{ | ||
browser: IBrowserInfo; | ||
@@ -23,2 +22,3 @@ model: { | ||
os: IOperationalSystemInfo; | ||
}> | IUserAgent; | ||
}>; | ||
export declare type IDeviceInfo = IDeviceInfoStrict | Record<string, any>; |
@@ -33,2 +33,2 @@ export { IStringMap as StringMap } from './IStringMap'; | ||
export { IExecutionMode as ExecutionMode } from './IExecutionMode'; | ||
export { IDeviceInfo as DeviceInfo, IBrowserInfo as BrowserInfo, IOperationalSystemInfo as OperationalSystemInfo, } from './IDeviceInfo'; | ||
export { IDeviceInfo as DeviceInfo, IDeviceInfoStrict as DeviceInfoStrict } from './IDeviceInfo'; |
@@ -33,2 +33,2 @@ export { IStringMap } from './IStringMap'; | ||
export { IExecutionMode } from './IExecutionMode'; | ||
export { IDeviceInfo, IBrowserInfo, IOperationalSystemInfo, } from './IDeviceInfo'; | ||
export { IDeviceInfo, IDeviceInfoStrict } from './IDeviceInfo'; |
@@ -18,3 +18,4 @@ import { RecursivePartial } from './helpers'; | ||
envProfile: EnvironmentProfile; | ||
deviceInfo: IDeviceInfo & Record<string, any>; | ||
deviceInfo: IDeviceInfo; | ||
userAgent: string; | ||
}>; | ||
@@ -21,0 +22,0 @@ export declare type IClientEventMeta = TClientEventMeta; |
@@ -13,4 +13,3 @@ import { RecursivePartial } from './helpers'; | ||
}>; | ||
export declare type IUserAgent = string; | ||
export declare type IDeviceInfo = RecursivePartial<{ | ||
export declare type IDeviceInfoStrict = RecursivePartial<{ | ||
browser: IBrowserInfo; | ||
@@ -23,2 +22,3 @@ model: { | ||
os: IOperationalSystemInfo; | ||
}> | IUserAgent; | ||
}>; | ||
export declare type IDeviceInfo = IDeviceInfoStrict | Record<string, any>; |
@@ -71,6 +71,2 @@ export { IStringMap as StringMap } from './IStringMap' | ||
export { IExecutionMode as ExecutionMode } from './IExecutionMode' | ||
export { | ||
IDeviceInfo as DeviceInfo, | ||
IBrowserInfo as BrowserInfo, | ||
IOperationalSystemInfo as OperationalSystemInfo, | ||
} from './IDeviceInfo' | ||
export { IDeviceInfo as DeviceInfo, IDeviceInfoStrict as DeviceInfoStrict } from './IDeviceInfo' |
@@ -71,6 +71,2 @@ export { IStringMap } from './IStringMap' | ||
export { IExecutionMode } from './IExecutionMode' | ||
export { | ||
IDeviceInfo, | ||
IBrowserInfo, | ||
IOperationalSystemInfo, | ||
} from './IDeviceInfo' | ||
export { IDeviceInfo, IDeviceInfoStrict } from './IDeviceInfo' |
@@ -20,3 +20,4 @@ import { RecursivePartial } from './helpers' | ||
envProfile: EnvironmentProfile | ||
deviceInfo: IDeviceInfo & Record<string, any> | ||
deviceInfo: IDeviceInfo | ||
userAgent: string | ||
}> | ||
@@ -23,0 +24,0 @@ |
import { RecursivePartial } from './helpers' | ||
// Legacy fallback: "I" instead of "T" prefix | ||
@@ -18,14 +17,12 @@ | ||
export type IUserAgent = string | ||
export type IDeviceInfoStrict = RecursivePartial<{ | ||
browser: IBrowserInfo | ||
model: { | ||
name: string | null | ||
manufacturer: string | null | ||
} | ||
isMobile: boolean | ||
os: IOperationalSystemInfo | ||
}> | ||
export type IDeviceInfo = | ||
| RecursivePartial<{ | ||
browser: IBrowserInfo | ||
model: { | ||
name: string | null | ||
manufacturer: string | null | ||
} | ||
isMobile: boolean | ||
os: IOperationalSystemInfo | ||
}> | ||
| IUserAgent | ||
export type IDeviceInfo = IDeviceInfoStrict | Record<string, any> |
@@ -43,3 +43,3 @@ // Generated by dts-bundle v0.7.5 | ||
export { IExecutionMode } from '@qiwi/substrate-types/target/es5/IExecutionMode'; | ||
export { IDeviceInfo, IBrowserInfo, IOperationalSystemInfo, } from '@qiwi/substrate-types/target/es5/IDeviceInfo'; | ||
export { IDeviceInfo, IDeviceInfoStrict } from '@qiwi/substrate-types/target/es5/IDeviceInfo'; | ||
} | ||
@@ -80,3 +80,3 @@ | ||
export { IExecutionMode as ExecutionMode } from '@qiwi/substrate-types/target/es5/IExecutionMode'; | ||
export { IDeviceInfo as DeviceInfo, IBrowserInfo as BrowserInfo, IOperationalSystemInfo as OperationalSystemInfo, } from '@qiwi/substrate-types/target/es5/IDeviceInfo'; | ||
export { IDeviceInfo as DeviceInfo, IDeviceInfoStrict as DeviceInfoStrict } from '@qiwi/substrate-types/target/es5/IDeviceInfo'; | ||
} | ||
@@ -443,3 +443,4 @@ | ||
envProfile: EnvironmentProfile; | ||
deviceInfo: IDeviceInfo & Record<string, any>; | ||
deviceInfo: IDeviceInfo; | ||
userAgent: string; | ||
}>; | ||
@@ -546,4 +547,3 @@ export type IClientEventMeta = TClientEventMeta; | ||
}>; | ||
export type IUserAgent = string; | ||
export type IDeviceInfo = RecursivePartial<{ | ||
export type IDeviceInfoStrict = RecursivePartial<{ | ||
browser: IBrowserInfo; | ||
@@ -556,3 +556,4 @@ model: { | ||
os: IOperationalSystemInfo; | ||
}> | IUserAgent; | ||
}>; | ||
export type IDeviceInfo = IDeviceInfoStrict | Record<string, any>; | ||
} | ||
@@ -559,0 +560,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166947
3135