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

@trigger.dev/billing

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trigger.dev/billing - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

13

dist/index.d.ts

@@ -617,2 +617,13 @@ import { z, ZodType } from 'zod';

declare const RunPriceBracketSchema: z.ZodObject<{
upto: z.ZodOptional<z.ZodNumber>;
unitCost: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
unitCost: number;
upto?: number | undefined;
}, {
unitCost: number;
upto?: number | undefined;
}>;
type RunPriceBracket = z.infer<typeof RunPriceBracketSchema>;
declare const RunPricingSchema: z.ZodObject<{

@@ -1577,2 +1588,2 @@ pricing: z.ZodOptional<z.ZodObject<{

export { type ActiveSubscription, ActiveSubscriptionSchema, BillingClient, BracketSchema, type CanceledSubscriptionResult, type CreateSubscriptionFlowStart, type CurrentPlan, type CurrentPlanResponse, CurrentPlanSchema, type CustomerPortal, type CustomerPortalRequestBody, CustomerPortalRequestBodySchema, type CustomerPortalResponse, CustomerPortalSchema, type Error, ErrorSchema, type Plan, type PlanDefinition, PlanDefinitionSchema, PlanSchema, type Plans, type PlansResponse, PlansSchema, type PricedMetric, PricedMetricSchema, RunPricingSchema, type SetPlanBody, SetPlanBodySchema, type SetPlanResponse, type SubscribeResult, SubscribeResultSchema, type UpdatedSubscriptionResult, estimate };
export { type ActiveSubscription, ActiveSubscriptionSchema, BillingClient, BracketSchema, type CanceledSubscriptionResult, type CreateSubscriptionFlowStart, type CurrentPlan, type CurrentPlanResponse, CurrentPlanSchema, type CustomerPortal, type CustomerPortalRequestBody, CustomerPortalRequestBodySchema, type CustomerPortalResponse, CustomerPortalSchema, type Error, ErrorSchema, type Plan, type PlanDefinition, PlanDefinitionSchema, PlanSchema, type Plans, type PlansResponse, PlansSchema, type PricedMetric, PricedMetricSchema, type RunPriceBracket, RunPricingSchema, type SetPlanBody, SetPlanBodySchema, type SetPlanResponse, type SubscribeResult, SubscribeResultSchema, type UpdatedSubscriptionResult, estimate };

11

dist/index.js

@@ -61,11 +61,10 @@ // src/schemas/planDefinitions.ts

import { z as z3 } from "zod";
var RunPriceBracketSchema = z3.object({
upto: z3.number().optional(),
unitCost: z3.number()
});
var RunPricingSchema = z3.object({
pricing: z3.object({
code: z3.string(),
brackets: z3.array(
z3.object({
upto: z3.number().optional(),
unitCost: z3.number()
})
)
brackets: z3.array(RunPriceBracketSchema)
}).optional(),

@@ -72,0 +71,0 @@ freeAllowance: z3.number().optional()

{
"name": "@trigger.dev/billing",
"version": "1.0.7",
"version": "1.0.8",
"description": "Calculates the billing for a given organization",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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