Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40344e4e74 | ||
|
|
99d0c8935c | ||
|
|
debbd2c01f |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@takerofnotes/plugin-sdk",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@takerofnotes/plugin-sdk",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"zod": "^4.3.6"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@takerofnotes/plugin-sdk",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "SDK to create a storage plugin for Taker of Notes",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { validatePlugin } from './validatePlugin'
|
||||
import { SUPPORTED_API_VERSION, validatePlugin } from './validatePlugin'
|
||||
|
||||
export interface TestNote {
|
||||
id: string
|
||||
@@ -39,7 +39,7 @@ export const runPluginTests = ({ plugin, adapter }: TestPluginOptions) => {
|
||||
}
|
||||
})
|
||||
it('should have correct apiVersion', () => {
|
||||
equal(plugin.apiVersion, '0.1.0')
|
||||
equal(plugin.apiVersion, SUPPORTED_API_VERSION)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { z } from 'zod'
|
||||
|
||||
export const SUPPORTED_API_VERSION = '0.3.0'
|
||||
export const SUPPORTED_API_VERSION = '0.3.1'
|
||||
|
||||
const ConfigFieldSchema = z.object({
|
||||
key: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user