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

@copicake/copicake-js

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@copicake/copicake-js - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

CHANGELOG.md

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

## [1.0.6](https://github.com/Copicake/copicake-js/compare/v1.0.5...v1.0.6) (2022-06-12)
### Bug Fixes
* bump version ([17daedd](https://github.com/Copicake/copicake-js/commit/17daedd7ea0be558e20b21a08e205a62524b0f72))
* updated types & changed README ([d6e5768](https://github.com/Copicake/copicake-js/commit/d6e576845edf06ea22e2a33677ad99f8314af17e))
## [1.0.5](https://github.com/Copicake/copicake-js/compare/v1.0.4...v1.0.5) (2022-05-26)

@@ -2,0 +10,0 @@

13

dist/tsc/types/Rendering.d.ts

@@ -1,14 +0,19 @@

export interface Change {
export declare type Change = ImageChange | TextChange;
export interface ImageChange {
name: string;
text?: string;
color?: string;
src?: string;
}
export interface TextChange {
name: string;
text?: string;
fill?: string;
}
export interface Options {
webhook_url: string;
}
export declare type Status = "processing" | "success" | "error";
export interface Rendering {
id: string;
type: "image";
status: "success" | "processing" | "failed";
status: Status;
changes?: Change[];

@@ -15,0 +20,0 @@ options?: Options;

{
"name": "@copicake/copicake-js",
"version": "0.0.3",
"version": "0.0.4",
"description": "Copicake JS Library",

@@ -5,0 +5,0 @@ "author": "EragonJ <eragonj@eragonj.me>",

@@ -43,3 +43,3 @@ # Copicake JS

changes: [
{ name: "text-9so09m", text: "hello world", color: "#ff0000" },
{ name: "text-9so09m", text: "hello world", fill: "#ff0000" },
{ name: "image-yeavh7", src: "https://your_website.com/test.png" },

@@ -46,0 +46,0 @@ ],

@@ -10,3 +10,3 @@ import Image from "./image";

public image;
public image: Image;

@@ -13,0 +13,0 @@ constructor({ apiKey }: IProps) {

@@ -1,8 +0,14 @@

export interface Change {
export type Change = ImageChange | TextChange;
export interface ImageChange {
name: string;
text?: string;
color?: string;
src?: string;
}
export interface TextChange {
name: string;
text?: string;
fill?: string;
}
export interface Options {

@@ -12,6 +18,8 @@ webhook_url: string;

export type Status = "processing" | "success" | "error";
export interface Rendering {
id: string;
type: "image";
status: "success" | "processing" | "failed";
status: Status;
changes?: Change[];

@@ -18,0 +26,0 @@ options?: Options;

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