node-karin 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import Yaml from 'yaml';
2
- export default class YamlEditor {
2
+ export declare class YamlEditor {
3
3
  filePath: string;
4
4
  document: Yaml.Document;
5
5
  constructor(filePath: string);
@@ -7,7 +7,7 @@ import fs from 'fs'
7
7
  import Yaml from 'yaml'
8
8
  import lodash from 'lodash'
9
9
  import logger from './logger.js'
10
- export default class YamlEditor {
10
+ export class YamlEditor {
11
11
  filePath
12
12
  document
13
13
  constructor (filePath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "description": "基于 Kritor 进行开发的nodejs机器人框架",
6
6
  "homepage": "https://github.com/KarinJS/Karin",