lightning 12.0.0 → 12.0.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 12.0.0
3
+ ## 12.0.1
4
4
 
5
5
  ### Breaking Changes
6
6
 
@@ -167,7 +167,7 @@ module.exports = ({lnd}) => {
167
167
  }
168
168
 
169
169
  if (!update.type || !update.type.toLowerCase) {
170
- return emitError(asError('ExpectedEventTypeInChannelSubscription'));
170
+ return;
171
171
  }
172
172
 
173
173
  const updateType = update.type.toLowerCase();
package/package.json CHANGED
@@ -51,5 +51,5 @@
51
51
  "directory": "test-typescript/typescript"
52
52
  },
53
53
  "types": "index.d.ts",
54
- "version": "12.0.0"
54
+ "version": "12.0.1"
55
55
  }
@@ -152,26 +152,6 @@ const tests = [
152
152
  }],
153
153
  },
154
154
  },
155
- {
156
- args: {lnd: makeLnd({data: {}})},
157
- description: 'Channel data type is expected',
158
- expected: {
159
- events: [{
160
- data: new Error('ExpectedEventTypeInChannelSubscription'),
161
- event: 'error',
162
- }],
163
- },
164
- },
165
- {
166
- args: {lnd: makeLnd({data: {type: 1}})},
167
- description: 'Channel data type string is expected',
168
- expected: {
169
- events: [{
170
- data: new Error('ExpectedEventTypeInChannelSubscription'),
171
- event: 'error',
172
- }],
173
- },
174
- },
175
155
  {
176
156
  args: {lnd: makeLnd({data: {type: 'event'}})},
177
157
  description: 'Channel data details are expected',