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

@trycourier/client-graphql

Package Overview
Dependencies
Maintainers
2
Versions
501
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trycourier/client-graphql - npm Package Compare versions

Comparing version 1.14.3-internal.c66337d.0 to 1.15.0

1

dist/banner/index.js

@@ -48,3 +48,2 @@ "use strict";

return _context.abrupt("return", {
appendMessages: Boolean(after),
banners: banners,

@@ -51,0 +50,0 @@ startCursor: startCursor

5

package.json
{
"name": "@trycourier/client-graphql",
"version": "1.14.3-internal.c66337d.0+c66337d",
"version": "1.15.0",
"description": "",

@@ -14,3 +14,2 @@ "main": "dist/index.js",

"type-check": "tsc --noEmit",
"readme": "concat-md --toc --decrease-title-levels --dir-name-as-title docs > README.md",
"types": "tsc --declaration --outDir typings/ --emitDeclarationOnly --declarationMap --allowJs false --checkJs false"

@@ -28,3 +27,3 @@ },

],
"gitHead": "c66337dc1a5adf809384b7d3cd032ed702e2ff6c"
"gitHead": "8f45c99f7b74d24afa6df3895e12f4bdc1bbfe90"
}

@@ -21,3 +21,2 @@ ## Courier Client GraphQl

import { createCourierClient } from "@trycourier/client-graphql";
const courierClient = createCourierClient({

@@ -28,7 +27,5 @@ clientKey: "abc123",

});
const messages = Messages({ client: courierClient })
const events = Events({ events: courierClient })
const events = Brands({ events: courierClient })
```

@@ -45,3 +42,2 @@

});
const getMessageCount = async (params?: {

@@ -55,3 +51,2 @@ isRead?: boolean,

};
const getMessages = async (

@@ -66,3 +61,2 @@ params?: {

const { startCursor, messages } = await messagesApi.getMessages(params);
return {

@@ -84,3 +78,2 @@ startCursor,

});
const trackEvent = async (trackingId: string) => {

@@ -100,3 +93,2 @@ await eventsApi.trackEvent(trackingId);

});
const getBrand = async (brandId?: string) => {

@@ -119,3 +111,2 @@ const myBrand = await brandsApi.getBrand(brandId);

});
const getBanners = async (params?: { tags?: string[], locale?: string }) => {

@@ -135,3 +126,2 @@ const myBanners = await bannerApi.getBanners(params);

});
const getBanners = async (params?: { tags?: string[], locale?: string }) => {

@@ -138,0 +128,0 @@ const myBanners = await bannerApi.getBanners(params);

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc