Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ombori/grid-signals

Package Overview
Dependencies
Maintainers
18
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ombori/grid-signals - npm Package Compare versions

Comparing version 2.135.3 to 2.136.0

dist/api/contacts.d.ts

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.136.0](https://github.com/ombori/gridapp/compare/v2.135.3...v2.136.0) (2021-12-10)
### Features
* getContact support ([1e79f37](https://github.com/ombori/gridapp/commit/1e79f375650d81bf38e2d96090304c42a31aff0f))
## [2.135.3](https://github.com/ombori/gridapp/compare/v2.135.2...v2.135.3) (2021-12-10)

@@ -8,0 +19,0 @@

1

dist/api/api.d.ts
export { sendEvent } from './send-events';
export * from './states';
export * from './contacts';

@@ -16,1 +16,2 @@ "use strict";

__exportStar(require("./states"), exports);
__exportStar(require("./contacts"), exports);

@@ -169,2 +169,3 @@ import { TrackEvent, InitProps, Instance, IdentityTypeEnum } from './types';

}>;
getContactId: () => Promise<string>;
}

@@ -436,2 +436,9 @@ "use strict";

};
this.getContactId = () => {
return api_1.getContact({
tenantId: this.instance.tenantId,
sessionId: this.instance.sessionId,
dataResidency: this.instance.dataResidency,
});
};
if (initParams) {

@@ -438,0 +445,0 @@ this.init(initParams);

@@ -225,1 +225,6 @@ export declare enum DataResidencyEnum {

};
export declare type GetContactParams = {
tenantId: string;
sessionId: string;
dataResidency: DataResidencyEnum;
};

4

package.json
{
"name": "@ombori/grid-signals",
"version": "2.135.3",
"version": "2.136.0",
"main": "dist/index.js",

@@ -32,3 +32,3 @@ "scripts": {

},
"gitHead": "ea37989d64a84efc9ddab462b1a5f584f4257059"
"gitHead": "908055cf76da13eee02e5fc25d93c8fe43e4d33f"
}
export { sendEvent } from './send-events';
export * from './states';
export * from './contacts';
import axios from 'axios';
import getBaseUrl from './get-base-url';
import {
Session,
Event,
Client,
RequestData,
DataRequestTypeEnum,
EventTypeEnum,
} from '../types';
import { Session, Event, Client, RequestData, DataRequestTypeEnum } from '../types';
import shortenKeys from './shorten-look-ups';

@@ -12,0 +5,0 @@

@@ -37,2 +37,3 @@ import { v4 as uuid } from 'uuid';

subscribeSessionEvent as subscribeSessionEventApi,
getContact as getContactApi,
} from './api/api';

@@ -618,2 +619,10 @@ import delayPromise from './utils/delay';

};
public getContactId = () => {
return getContactApi({
tenantId: this.instance.tenantId,
sessionId: this.instance.sessionId,
dataResidency: this.instance.dataResidency as DataResidencyEnum,
});
};
}

@@ -265,1 +265,7 @@ export enum DataResidencyEnum {

};
export type GetContactParams = {
tenantId: string;
sessionId: string;
dataResidency: DataResidencyEnum;
};
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc