@basetime/a2w-api-ts
Advanced tools
Comparing version 0.1.33 to 0.1.34
@@ -34,2 +34,6 @@ import type { PassProps } from 'passkit-generator'; | ||
/** | ||
* The attributes of the template. | ||
*/ | ||
attributes: TemplateAttributes; | ||
/** | ||
* Values related to the Apple version of the template. | ||
@@ -127,1 +131,22 @@ */ | ||
} | ||
/** | ||
* A single attribute of a template. | ||
*/ | ||
export interface TemplateAttribute { | ||
/** | ||
* A unique key for the attribute. | ||
*/ | ||
key: string; | ||
/** | ||
* The value of the attribute. | ||
*/ | ||
value: string; | ||
/** | ||
* The type of the value. | ||
*/ | ||
type: string; | ||
} | ||
/** | ||
* A list of attributes of a template. | ||
*/ | ||
export type TemplateAttributes = TemplateAttribute[]; |
@@ -0,1 +1,2 @@ | ||
import { TemplateAttributes } from './Template'; | ||
/** | ||
@@ -26,2 +27,6 @@ * The details needed to render a template thumbnail. | ||
/** | ||
* The attributes of the template. | ||
*/ | ||
attributes: TemplateAttributes; | ||
/** | ||
* The logo text for the template. | ||
@@ -28,0 +33,0 @@ */ |
{ | ||
"name": "@basetime/a2w-api-ts", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Client library that communicates with the addtowallet API.", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116947
3196
6