New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@launchedla/snacktime

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchedla/snacktime - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

dist/graphql-types.d.ts

3

dist/index.d.ts
import { Action, BundleUpdate, RecordActionRequiredProps } from './types';
import { typedefs, unionTypeResolver, APIAction, convertActionsForGraph } from './graphql-types';
declare const _default: ({ actionsTableName, awsRegion, dynamoDBEndpoint, shopifyDomain, }: {

@@ -16,2 +17,2 @@ actionsTableName: string;

export default _default;
export { Action, BundleUpdate, RecordActionRequiredProps };
export { Action, BundleUpdate, RecordActionRequiredProps, typedefs, unionTypeResolver, APIAction, convertActionsForGraph, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertActionsForGraph = exports.unionTypeResolver = exports.typedefs = void 0;
const aws_sdk_1 = require("aws-sdk");
const graphql_types_1 = require("./graphql-types");
Object.defineProperty(exports, "typedefs", { enumerable: true, get: function () { return graphql_types_1.typedefs; } });
Object.defineProperty(exports, "unionTypeResolver", { enumerable: true, get: function () { return graphql_types_1.unionTypeResolver; } });
Object.defineProperty(exports, "convertActionsForGraph", { enumerable: true, get: function () { return graphql_types_1.convertActionsForGraph; } });
exports.default = ({ actionsTableName, awsRegion, dynamoDBEndpoint, shopifyDomain, }) => {

@@ -5,0 +10,0 @@ const client = new aws_sdk_1.DynamoDB.DocumentClient({ endpoint: dynamoDBEndpoint, region: awsRegion });

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

export {};
export declare const createRandomNumber: () => number;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createRandomNumber = void 0;
const _1 = __importDefault(require("./"));

@@ -18,3 +19,3 @@ const create_table_1 = __importDefault(require("./create-table"));

});
const createRandomNumber = () => Math.floor(Math.random() * Math.floor(10000));
exports.createRandomNumber = () => Math.floor(Math.random() * Math.floor(10000));
beforeAll(async () => {

@@ -29,5 +30,5 @@ try {

test('default columns', async () => {
const bundleId = createRandomNumber();
const customerId = createRandomNumber();
const chargeId = createRandomNumber();
const bundleId = exports.createRandomNumber();
const customerId = exports.createRandomNumber();
const chargeId = exports.createRandomNumber();
await snacktime.recordAction({ bundleId, customerId, chargeId }, { label: 'ChangedShipDate' });

@@ -34,0 +35,0 @@ const actions = await snacktime.getActions({ bundleId, customerId, chargeId });

{
"name": "@launchedla/snacktime",
"version": "0.0.10",
"version": "0.0.11",
"description": "Snacktime is a wrapper for the Launched LA internal database that will replicate into Snowflake. It is a replacement for Shopify metafields and an enhanced place to store event-driven data.",

@@ -33,4 +33,6 @@ "main": "dist/index.js",

"dependencies": {
"aws-sdk": "^2.772.0"
"aws-sdk": "^2.772.0",
"graphql": "^15.4.0",
"graphql-tag": "^2.11.0"
}
}

@@ -15,3 +15,3 @@ import Snacktime from './'

const createRandomNumber = () => Math.floor(Math.random() * Math.floor(10000))
export const createRandomNumber = () => Math.floor(Math.random() * Math.floor(10000))

@@ -18,0 +18,0 @@ beforeAll(async () => {

import { DynamoDB } from 'aws-sdk'
import { Action, BundleUpdate, RecordActionRequiredProps } from './types'
import { typedefs, unionTypeResolver, APIAction, convertActionsForGraph } from './graphql-types'

@@ -62,2 +63,10 @@ export default ({

export { Action, BundleUpdate, RecordActionRequiredProps }
export {
Action,
BundleUpdate,
RecordActionRequiredProps,
typedefs,
unionTypeResolver,
APIAction,
convertActionsForGraph,
}

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc